Okay, well it didn't work at first, but I edited the script, and fixed it them being able to detect, stop following waypoint and chase the player, what still doesnt work is, the animation when the zombie follows the waypoint, it still stands and moves along, which is stupid. The other thing, is the death animation plays while it moves along waypoint again. Still havent gotten anywhere, just the zombies being able to detect the player and finally chase him. When you shoot zombies as well, they begin to run back to the nearest waypoint.
;WALKING WAYPOINTS
:waypointstate=0:animate=33,waypointstart
:waypointstate=3:animate=33,waypointnext
:waypointstate=4:animate=33,waypointrandom
:waypointstate=5:animate=33,waypointreverse
;Triggers
;DETECT PLAYER
:state=0,plrdistwithin=400,plrcanbeseen:waypointstop,state=5,rotatetoplr,setframe=96,sound=audiobank\zombie_apocalypse\femalescream3.wav
:state=0,shotdamage=1:waypointstop,state=5,rotatetoplr,setframe=96
;DETECT PLAYER AND IDLE
;:state=0,plrdistfurther=500:animate=94
;:state=0,plrdistwithin=500,plrcanbeseen:state=5,rotatetoplr
;INTRO ANIMATION
:state=9:waypointstop,incframe=96
:state=9,frameatend=96:state=5
:state=0:sethealth=100,state=499 ;must set initial health for reliable "healthless" check
;RANDOMIZE THE IDLE POSE FOR VARIATION
:state=499,random=3:state=500
:state=499,random=2:state=501
:state=499,random=1:state=502
:state=500:animate=94
:state=500,healthless=100:sethealth=100,state=5 ;if shot, reset health. remember a headshot will immediately register a kill in a later state below!
:state=500,plrdistwithin=400,plrcanbeseen:waypointstop,state=5,rotatetoplr
:state=501:animate=95
:state=501,healthless=100:sethealth=100,state=5 ;if shot, reset health. remember a headshot will immediately register a kill in a later state below!
:state=501,plrdistwithin=400,plrcanbeseen:waypointstop,state=5,rotatetoplr
:state=502:animate=96
:state=502,healthless=100:sethealth=100,state=5 ;if shot, reset health. remember a headshot will immediately register a kill in a later state below!
:state=502,plrdistwithin=400,plrcanbeseen:waypointstop,state=5,rotatetoplr
By the way this is model pack 58, and not the first zombie apocalypse pack, these scripts are the second model pack.
Concept, an Original Idea. A Creation. Takes Effort & Pride.