I at least remember this from when I played Dragon Quest V years back. If all your party members died, your reserve members that were in the wagon were able to automatically jump out and join the fray rather than you hitting "Game Over" if all four active members die. I don't think I'd want it to happen if ANY party member dies (otherwise you'd have no chance to revive them without having to swap 'em back out) but I would like it to happen if ALL party members die.
I'm using YEP Party System, is there any way I can make it work so that reserve members can jump out and fight when all of the main actors are dead? Thanks!
I have to think whether the Party System makes it any easier or harder to do this.
With the default code, you'd have a Turn 0 event that applies an immortal state to each actor.
Have further troop events for each actor at <= 0 HP. Checks whether they're the only living actor.
If no, remove the immortal state and let them die.
If yes, remove dead actors and replace them with living ones before removing the immortal state from this actor, removing them from the party and replacing them.
It doesn't appear that the Party System offers any plugin commands or script calls that would do anything to this process, so I'd just try to event it first.
See where you get stuck, post your progress, ask for help.
The problem is the "ALL" in this case. It wouldn't be too hard to replace any character that dies with a reserve. I did that and it worked out great for me.
But when you want to replace them when the whole party is dead, then the battle is already registered as lost...
Of course you can use immortal state like ATT suggests, but then the actors can still attack, even when KO...
So, if you want to use ATT's method, you will need to add a new state to present KO. One that prevents the characters to act, and make them look dead (in case of SV), and somehow add that state to the characters when at 0 HP.
This, is a lot more complicated to do then I originally expected when I started writing this reply... The more I think about it, the more I am convinced it is an impossible task, unless you can find (or create) a plugin that changes the whole KO scene. (Or at least add the new state to characters when they get at 0 HO)
Note that also things like revive and such need to be changed to remove the right state.