Quote: "ok
@ Nue B: please tell me when youve written the script you named"
Here's the script Jhon. I made it for a 15 second freeze, not 30. But it works great. It's the Chase.fpi script with a twist! Add it as the entity's shoot:script and press F1 to activate.
* It's not always immediate because the character may be in a reload or firing cycle, but you'll know when it's on. You can move around the character even attack him/her and when the time is up, they’ll unfreeze and continue shooting at you! Well, unless you kill them first or get out of range.
Hope you like it,
It’s free for the forum!
;Artificial Intelligence Script
;A NueB. Free-for-All!
;Blaqueboi@sbcglobal.net
;Header
desc = Chase And Shoot. Freeze for 15 seconds w/ F1
;Triggers
:nearactivatable=0:settarget,activatetarget=2
:losetarget=50:freeze,runfpidefault=1
:plralive=0:freeze,runfpidefault=1
:ifweapon=1,plrcanbeseen=46,plringunsight,rateoffire:settarget,useweapon,rundecal=6,choosestrafe
:ifweapon=0:reloadweapon,freeze,setframe=6,state=4,sound=audiobankgunsreload.wav
:shotdamage=10:rotatetoplr,state=5
:state=0,plrdistfurther=100:state=1
:state=0,plrdistwithin=101:state=2,animate=1
:state=1,plrelevfurther=10,plrcanbeseen=46,plringunsight:freeze,settarget,animate=1,state=0
:state=1:followplr=1,animate=5
:state=1:state=0
:state=2:rotatetoplr,resethead
:state=2:freeze,state=0
:state=4:incframe=6
:state=4,frameatend=6:state=0
:state=5,random=1:state=6,setframe=4
:state=5:state=7,setframe=3
:state=6:incframe=4,strafe=90,rotatetoplr
:state=6,frameatend=4:state=1,animate=1
:state=7:incframe=3,strafe=-90,rotatetoplr
:state=7,frameatend=3:state=1,animate=1
:plrdistwithin=500,scancodekeypressed=59:freeze,timerstart,state=8
:state=8,timergreater=15000:state=0
;End of Script