Quote: "edit a "state=0" as first action into each line"
":condition:action" as mentioned in the manual.
try this:
;Artificial Intelligence Script
;Header
desc = Follow Waypoints
;Triggers
:waypointstate=0:state=0,animate=2,waypointstart
:waypointstate=3:state=0,animate=2,waypointnext
:waypointstate=4:state=0,animate=2,waypointrandom
:state=0,plrdistfurther=151:waypointstop,animate=0,state=0
:state=0,plrdistwithin=150:animate=2,waypointstart
;End of Script
now the character should stand around until player comes near 150, then he should start following waypoints as long as the player is near 150. maybe animate=0 is wrong, i dont remember. then try animate=1.
hope it helps.