I'm very new to rpg maker (just downloaded the trial yesterday), and I've been trying to allow the player to lose random encounters, similar to event encounters.
After searching around for answers, I started digging into the core rpg maker files, and came up with this script:
BattleManager._canLose = true
When used as a Turn 0 battle event, this seems to do just what I wanted (override the game over behaviour). However, this kind of thing wasn't mentioned anywhere (from what I found).
So, I was wondering if that code is flawed, or something (everyone said you'd need a plugin).
Most people don't like random encounters, because those can become tedious and fun-destroying easily - and as a result, methods to handle their problems aren't often asked for.
Additionally, that more or less requires the default battlesystem - you can't guarantee compatibility when using it in combination with plugins that rewrite the main battlesystem.
Well...if you change that to true and it was false before it is a kind of Plugin.
A really simple one ^^
...usually you do that changes with plugins. If u decided to do it in the main file you could get confused later on, when there are errors or something.
Thanks for that; I've always taken it to be the opposite. I did a quick test, and now have seen the light. Cheers..! Up until now, I've been provoking my own 'Game Over' inthe 'Lose' part; no bad thing, but I thought I was doing the same as the Machine. D'oh..!
Still, my other self interrogation remains. How does this line of Script get used to affect Random encounters, if there's no Event..? (...Wanders off to sounds of head scratching and chin stroking...)
Have I mis-understood the post's title, then (' How to have no game over on random encounters '...)..? A useful line of script, but with no effect on random encounters..? Just checking, as I'm still confused, sorry.
Aha..! I see it now; thanks for that. Useful; I'll add it to my modest collection of 'snippets', gleaned here and there in the perusal of these pages. It's sometimes the most simple things that go unsaid. Cheers.