I'm trying to configure the RMMV battler in a way that when all party members enter the knockout state (0 HP) that it doesn't just dump into Game over. I've tried a few settings, like if actor HP <= 0% then remove the knockout state, and run an event to check to see if it's actually game over or not.
IF I have events that cause a player to enter combat, using the event page I can prevent the game ending due to knockout. However, I don't want to create umpteen thousand events for every possible encounter, and I'd like to set it up in a dynamic way that any time the player enters combat, if the whole party gets KO'd it performs a check prior to just skipping ahead to Game Over.
Goal in Psuedo Code:
if all members of party hp = 0
{
Remove knockout state from all members,
Call common Death Event to perform checks to see if the game is really over
If the game isn't over, do some stuff
Else, Game Over.
}
Can anyone help point me in the direction to look to make this happen?
I'm hoping it's a core configurable possibility, although I'll use an addon if I have no choice.
IF I have events that cause a player to enter combat, using the event page I can prevent the game ending due to knockout. However, I don't want to create umpteen thousand events for every possible encounter, and I'd like to set it up in a dynamic way that any time the player enters combat, if the whole party gets KO'd it performs a check prior to just skipping ahead to Game Over.
Goal in Psuedo Code:
if all members of party hp = 0
{
Remove knockout state from all members,
Call common Death Event to perform checks to see if the game is really over
If the game isn't over, do some stuff
Else, Game Over.
}
Can anyone help point me in the direction to look to make this happen?
I'm hoping it's a core configurable possibility, although I'll use an addon if I have no choice.