I am trying to make a zombie game and I can't seem to make something disappear after more than one clicks.
Offline
In the sprite create a variable and when it asks if your want it to be for all sprites or just that one put just that one. Call it Health.
When the zombie first appears set Health to whatever you want its maximum to be, e.g.
when gf clicked set [Health v] to [3]Then put in this:
when Zombie clicked change [Health v] by [-1] if <(Health) = [0]> hide any other code you need to use to get rid of it end
Offline