;Artificial Intelligence Script
; by xplosys
;Header
desc = Enemy Shoot
;A simple script to give the appearance of allies
;Enemies using this script can not hurt each other
;or the player.
;Change the plrdistwithin= distance to suite.
;Add animations for more realism (squat, strafe, etc)
;Triggers
:state=0,plrdistwithin=500:state=1
:state=1,ifweapon=1,plrdistwithin=500:useweapon,rundecal=6
:state=1,ifweapon=0:state=2,setframe=6
:state=2:incframe=6
:state=2,frameatend=6:state=1,reloadweapon,sound=audiobank\guns\reload.wav
;End of Script
I'm sorry, my answers are limited. You must ask the right question.