I've looked at smallgs scripts and I can't quite get it, I've tried to set a global variable go up when I kill an enemy but that don't work on the ai exit script. How can I tell when an entity is dead ? I copied the fast zombies ai and added this to it but nothing happens when the zombie dies, I have it prompted on screen the variable to watch it.
function ai_fastzombie_exit(e)
PlayCharacterSound(e,"onDeath")
g_round_state[5] = g_round_state[5] + 1
CollisionOff(e)
end
is there an entity variable I don't know about?
Markchapman10 is my Skype let's have some dev talk.