okay so im using conjured's cash system and im trying to make it so when the zombie dies it adds 100 cash. i know a minimal ammount about scripting but im getting the hang of it.
;Artificial Intelligence Script
;Header
desc = Fade Out Disappear
;Triggers
;FAILSAFE DESTROY SCRIPT, JUST IN CASE MAIN SCRIPT DOES NOT KILL CHARACTER AND HEALTH SOMEHOW REACHES ZERO
:state=0:addvar=cecashcounter=100,state=1
:state=1:setframe=12,state=2
:state=2:incframe=12,state=3
:state=3,frameatend=12:state=102
:state=102:,coloff,etimerstart,state=1102
:state=1102,etimergreater=5000:state=1103
:state=1103:coloff,decalphafade=0
:state=1103,alphafadeequal=0:state=1104,destroy
;End of Script
this is what i have. zombie death animation is smooth, but it does not add cash. i followed the instructions as far as placing the paintings and such, so i assume its a problem in the code. any help?
nOOb and Proud