Hi, Anthony here again, I'm making a new version to my game, and I'm having a major scrip problem...
;Artificial Intelligence Script
;Header
desc = Hunt And Pace Waypoints
;Triggers
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse
:nearactivatable=0:settarget,activatetarget=2
:state=0:state=1
:state=1,plrcanbeseen=30:settarget,state=2
:state=1,random=20:rotateheadrandom=65
:state=1,random=60:rotatetoplr
:state=1,shotdamage=10:settarget,waypointstop,animate=1,rotatetotarget,resethead,state=4
:state=1,noiseheard=5:rotateheadrandom=85
:state=2:waypointstop,rotatetoplr,state=3,plraddhealth-9999
:state=3:animate=1,waypointstart,state=0
:state=4,plrcanbeseen=46:settarget,state=2
:state=4,random=20:animate=2,waypointstart,state=1
;End of Script
The entity that I am using does lock onto the player, but doesn't react like it should such as following the routes, or player, and attacking the player when in sight, Is there something I'm not seeing here...
Anthony Gonzales