Hey All,
I'm attempting to create a Barricade System (sort of like the one in Call of Duty, but more just a one-off defence than repairable) for a game i'm working on. I've got the barricade working fine, but my problem is with the Zombie.
He walks upto the barricade, and begins the strike it. That's all fine. The script then SHOULD change his main FPI to the default one (i'm working with the "Slow Zombie 1" from Bond1's Zombie Apocalypse). The problem I have is, it doesn't. He just keeps striking. Here's the script:
desc = Barricade Attack + Spawning by RR3.
;Triggers
;DETERMINE SPAWN
:state=0,inview=1:spawnoff
:state=0,inview=0:spawnon
;WALKING WAYPOINTS TO BARRIER
:waypointstate=0:animate=92,waypointstart
:waypointstate=3:animate=92,waypointnext
:waypointstate=4:animate=92,waypointrandom
;ATTACKING BARRIER
:waypointstate=5,varequal=barrier1 0:animate=93,state=1
;DESTROYING BARRIER
:state=1:runfpidefault=1
;End Of Script
* The Variable is set and changed in other scripts.
Any help would be appreciated. I also plan to share the whole Barricade System with the Community when it's 100% working.
RR3.