;Triggers
:state=0:settargetname=kid
:state=0:state=1,settarget
:losetarget=10:runfpidefault=1
:state=0:runfpidefault=1
:state=1,plrcanbeseen:settarget
:state=1,ifweapon=1:movetotarget,animate=5
:state=1:lookattarget
:state=1,ifweapon=1rateoffire:animate=1,lookattarget,freeze,useweapon,rundecal=6
:state=1,ifweapon=0:animate=1,freeze,state=2,setframe=6
:state=1,plrdistwithin=200,random=20:state=5
:state=1,plrdistwithin=50:state=10
:state=2:incframe=6
:state=2,frameatend=6:state=1,reloadweapon,sound=audiobank\guns\reload.wav
:state=5,random=1:state=6,setframe=4
:state=5:state=7,setframe=3
:state=6:incframe=4,strafe=90,lookattarget
:state=6,frameatend=4:state=1,animate=1
:state=7:incframe=3,strafe=-90,lookattarget
:state=7,frameatend=3:state=1,animate=1
:state=10:state=11,setframe=5
:state=11:incframe=5,strafe=180,lookattarget
:state=11,frameatend=5:state=1,animate=1
Yes, I searched first. No, I did not find anything that answered my question.
I'm trying to get an AI entity to attack another entity. When I run this, the entity still runs around chasing the target, but the shots still hurt me.
Also, how do I use Dark AI in FPSC? Going to head over to that forum, but I don't see anything in the program for it.