I want to play the explosion animation and then delete the sprite. What am I doing wrong ?
Every frame the events are executed, meaning that every frame the health is still 0 and the timer reset again. Add a trigger once condition to the event checking for health = 0
ok, thanks will try
Yes and you have to pause the timer as well because as soon as the scene is loaded the timers starts and after 0.2 seconds the zeppelin is deleted. So all zeppelin sprites will almost instantly be deleted.
You have to pause timer and then restart timer when health equals 0. Or add the Event with the timer as a sub-event of the check variable event.
Hope I helped