Hi
I have a simple code where essentially there's an enemy, it dies, and decreases the variable for how many enemies are left.
But in game, when I kill 1 enemy, AC sets the variable to -1 instead of decreasing it by 1.
Here:
Does anyone know what I could be doing wrong?
Thank you
Comments
Thank you
I'm probably being pretty thick right now but I've changed it to how you shown and it's still setting the variable to -2
http://pasteall.org/993255