Hey All,
I'm currently working on some scripts that will help create a game that is a mix of FEAR 3's "Contractions" mode and CoD's Nazi Zombies.
I have this script i'm working on (it's a modification of Bond1's "SlowZombie2Destroy")
;Artificial Intelligence Script
;Header
desc = Nazi Zombie Death Script by RR3; with Large Credit to Bond1.
;Adds Points when killed, checks the Killcount, prevents spawn if Killcount is high enough.
;Triggers
:state=0:setframe=97,addvar=cecashcounter 100,state=11
:state=11:addvar=killcount 1
:state=11,varequal=killcount 5,spawnoff
:state=11:incframe=97
:state=11,frameatend=97:state=1
:state=1,alphafadeequal=100:decalphafade=0
:state=1,alphafadeequal=0:state=2,destroy
;End of Script
I also have this line in the "SetupLevel.ini"
:state=0:dimvar=killcount
Most of the script is fine, except the Zombie still spawns when the variable is above 5.
Any thoughts or help would be appreciated.