okay for who ever is paying attention to my little script thing i got going on, i decided that maybe the problem wasnt with what i put in. so i deleted what i put in the script and the problem was still there! and i looked at the script and compared it to all the original shooting type scripts and this one dosnt match ANY of them! I have no idea where it came from haha
So i put in my script to the orignal chase.fps, because thats the smartest one that came with FPSC and...it still dont work but at least he shoot =)
Still have problems tho
Now he simply ignores my commands. He attacks me and does everything the normal chase script would tell him to do. He wont take cover when i shoot him
maybe you can see the problem
a line of***************** is where on the script i edited so you can see what i did without examining the whole thing
;Artificial Intelligence Script
;Header
desc = Chase And Shoot
;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=audiobank\guns\reload.wav
:shotdamage=1:localvar=2,setvar=2*********************
***************************************
varequal=1:state=0
varequal=2:state=11
****************************************
:state=0:localvar=1,setvar=1
:state=0,plrdistfurther=100:state=1
:state=0,plrdistwithin=101:state=2,animate=1
:state=0,shotdamage=1:localvar=2,setvar=2**********************
:state=1,plrelevfurther=10,plrcanbeseen=46,plringunsight:freeze,settarget,animate=1,state=0
:state=1:followplr=1,animate=5
:state=1:state=0
:state=1,shotdamage=10:localvar=2,setvar=2*********************
:state=2:rotatetoplr,resethead
:state=2:freeze,state=0
:state=2,shotdamage=1:localvar=2,setvar=2*******************
:state=4:incframe=6
:state=4,frameatend=6:state=0
:state=4,shotdamage=1:localvar=2,setvar=2****************
:state=5,random=1:state=6,setframe=4
:state=5:state=7,setframe=3
:state=5,shotdamage=1:localvar=2,setvar=2****************
:state=6:incframe=4,strafe=90,rotatetoplr
:state=6,frameatend=4:state=1,animate=1
:state=6,shotdamage=1:localvar=2,setvar=2****************
:state=7:incframe=3,strafe=-90,rotatetoplr
:state=7,frameatend=3:state=1,animate=1
:state=7,shotdamage=1:localvar=2,setvar=2******************
*********************************************************************************************
:state=11:waypointstart,animate=55
:state=11,waypointstate=1:waypointnext,animate=55
:state=11,waypointstate=3:waypointstop,animate=36,realoadweapon,state=0,localvar=1,setvar=1
***********************************************************************************************
;End of Script
state=11 is the main idea thing