Is there a way to prevent game overs from happening in random encounters? I'm attempting to implement a mechanic that restores a character's HP when being defeated once in a battle, but it just gets interrupted by a game over. Is there a way to prevent this?
Prevent game overs in random encounters?
RPG Maker 2000/2003 SupportTry to use switch on it
example
When the battle is done and party defeated, turn switch on inside troops condition
and add common events where you can remove dead state then recover party HP MP
idk if this working or not, in my case just 1 character is dead.. if still not work try on "can lose" on your battle process
theyre using RM2k3, but what youre showing in MV/Z. does that apply to 2k3?
Oh didn't see that, hmm im not sure it's working or not.. At least try it first XD
In 2k3 there's an option for this: Tools -> Database -> Battle Screen -> Death Handler~
(For MV/Z you'd want a plugin: the core engine checks for game over before events, and On Lose doesn't apply for random encounters.)
(For MV/Z you'd want a plugin: the core engine checks for game over before events, and On Lose doesn't apply for random encounters.)
After trying this, battles still result in a game over before the event can even start. I assume it might be because I'm trying it in a battle processing event, but is there a way to make this work in event battles?
I've already attempted this, but it kicks me out of the battle before the common event can be called.
As a compromise, you run a could run a battle script to resurrect all dead characters and give them an "Unconscious" state instead with 1 HP, damage immunity, and unable to move. You would need to END combat if all become "Unconscious" and remove the condition when returning to the main map.
Personally, I think it would be better to remove saving, except at special restore points... and just have the party warp there after a defeat.
Personally, I think it would be better to remove saving, except at special restore points... and just have the party warp there after a defeat.
The expected sequence is:
- Get defeated in battle.
- Battle ends, return to map.
- Event continues from the "If Defeated" branch.
If you want the event to be called in battle, immediately before the usual "defeated" message and return to map...I'm not sure that's possible. It's been a while since I last used RM2k3, though, so I might have forgotten something. 😴
Original thread: https://forums.rpgmakerweb.com/threads/prevent-game-overs-in-random-encounters.172999/
