ok, i spawned a zombie using my waypoint script, placing your commands in state 1 and state 2, it walked through the barriers and then dissapeared with only it's shadow left when it reached the end of the waypoint.
when i tried doing it without a waypoint it just stood there and didn't do anything.
here's the script i'm using:
this is the default script i'm using to test your code:
;Artificial Intelligence Script
;Header
desc = Default Entity Behaviour (Nothing)
;Triggers
:state=0:state=1
:state=1,anywithinzone=1:activateallinzone=86
;End of Script
and this is the zombie script i'm using:
desc = Shadowfire's zombie waypoint script
;Triggers
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointstop,state=1
:waypointstate=999:animate=2,waypointstop,state=1
:state=1,activated=86:runfpidefault=2
:state=1,plrdistwithin=3000:state=2
:state=2,plrdistfurther=3000:animate=1,state=1
:state=2,activated=86:runfpidefault=2
:state=2,plrdistfurther=40:rotatetoplr,movefore=2,animate=2
:state=2,plrdistfurther=3000:animate=1,state=1
:state=2,plrdistwithin=40,rateoffire:rotatetoplr,animate=92,plraddhealth=-20