Battle - Party member switch out when actor's HP reaches 0

Hi there everyone! 
smile.png


I was wondering if there is a way (through common events, or scripting) to set up a way that if the current actors HP

(1 and only member in battle) reaches 0 (zero) that it calls for another actor (During Battle) that does have HP remaining rather than an instant Game Over screen. But if all actors have 0 HP, then the Game Over screen appears.

This idea is from Dark Cloud 1 and 2, so if you have played those games, then you would know exactly what I speak of. 
wink.png


Thanks! 
Or like in Tales of symphonia. 🙂 I know what you mean but I don't know where to find it. Sorry!
Yes, that works too! 🙂  

Thank you, I hope something turns up.
Are you using a script that allows only one party member to be in battle? Please post a link to it, as whoever does this for you will need to make sure their mod is compatible.


What happens if your one and only battler is poisoned but not killed in battle, then dies on the map because their HP drops to 0?
One thing that might be useful to know is, will there be a choice on who to switch out for of the remaining party members?
Yep! I'm using Yanfly's Party System script : http://yanflychannel.wordpress.com/rmvxa/core-scripts/party-system/.

Good question, ideally I would like the game to force the player to switch out that 1 active party member, with an inactive party member.

If it is possible to let the player choose who to switch the fallen party member with, would be great! 🙂
Are you also using a battle script other than RTP? I know the script you have makes reference to battlers, but it does not affect the BattleManager or Scene_Battle. And since those are the scripts that will have to be changed, you'll also need to provide links to any battle-related scripts you're using.
This would be the only other battle script I'm using, which allows changing party member mid-battle: http://yanflychannel.wordpress.com/rmvxa/core-scripts/party-system/command-party/.

Thanks for your help and interest so far! 🙂
Bump it up 😛
metalrose1988, please do not bump your topic unless it has been 72 hours later since your last post. You can review our forum rules here. Thank you.


So you are not using any side-view battle scripts? You're using the default battle script, that has sprites for the enemies only, and no sprites for the characters - just the faces on the hud?
Just the default battle script.

Is there anyway to get around it, so that I won't get a gameover screen unless ALL party members are dead?
Do any of you know of a way to allow players to switch out during battle? Say 3 people are fighting,

either one character dies or is low on health, you switch them to another character, or even for special

effects. Similar to FFX.

Otherwise has anyone seen code to this?

Original thread: https://forums.rpgmakerweb.com/threads/battle-party-member-switch-out-when-actors-hp-reaches-0.19925/