Here's a general update on the scripts:
;Triggers
:waypointstate=0:waypointstart,animate=52
:waypointstate=3:waypointnext,animate=52
:waypointstate=4:waypointrandom,animate=52
:waypointstate=5:waypointreverse,animate=52
:state=0:state=1,animate=1
:state=1,noiseheard=1:rotateheadrandom=80
:state=1,plrcannotbeseen,random=5:movefore=2,animate=2
:state=1,plrcannotbeseen,random=10:rotateiy=45,movefore=2,animate=2
:state=1,plrcanbeseen:state=2
:state=2,plrcanbeseen:resethead,rotatetoplr,waypointstop,animate=51,shootplr
;End of script
;Triggers
:state=0:state=1
:state=1,plrcanbeseen:settarget
:state=1:rotatetoplr
:state=1,plrdistwithin=100:moveback=4,animate=5
:state=1,plrcannotbeseen:followplr
:state=1,random=10:strafe=90,animate=4
:state=1,random=20:strafe=270,animate=3
:state=1,plrcanbeseen,plrdistwithin=300,plrdistfurther=100:state=1,animate=1
:state=1,ifweapon=1,plrcanbeseen,plringunsight,rateoffire:,animate=1,useweapon,rundecal=6,state=1
:state=1,ifweapon=0:state=2
:state=2:reloadweapon,sound=audiobank\guns\reload.wav,animate=6
:state=2,animationover=1:state=1
;End of Script
The damage prob was already fixed as stated in my second post, but thanks for the tip on different state orders.
Is it normal for entities not to be able to climb stairs? Mine doesn't.
Thank you all.
Angola - The game
Coming soon