conditional event help

how to create battle event conditional

if (all party hp <= 0) {
text : I dont feel so good
game over
}

in battle event tab i dont understand
you need to create one troop event per actor and have it check if the others are dead as well before having the show text.
game over is automatic as soon as all actors are dead.
you need to create one troop event per actor and have it check if the others are dead as well before having the show text.
game over is automatic as soon as all actors are dead.

its not working im confused
Spoiler: help
notwork.png
Span turn, not battle.
If all party members are dead, it's game over. It does not check for any troop events when that happens - it goes straight to the game over screen.

You will need a plugin to change this behaviour.
Span turn, not battle.
i change span battle to span turn still not working can you help me
If all party members are dead, it's game over. It does not check for any troop events when that happens - it goes straight to the game over screen.

You will need a plugin to change this behaviour.

its working now turn out i just need to instantiate object into variable 😀

Original thread: https://forums.rpgmakerweb.com/threads/conditional-event-help.114841/