I made a post earlier today about events to continue the game even after a game over. However I have realized a better way of going about this would be to make it so that random encounters have a win/lose condition since I want to have events exclusive to certain enemies. What would be a way to go about making conditions for random encounters?
Win/Lose Random Encounters
RPG Maker MV SupportIt would be better if you'd just posted in the same thread rather than starting a new one.
is this for Ace (as in your profile) or for MV (as in where you posted)? I made a plugin for MV called something like Battle Result Switches, that allowed you to specify a switch to be turned on after a battle ended, to indicate whether the player escaped, won, or lost. You might be able to use that, combined with common events. However, the default behaviour when you lose a battle is for the game to end, so you'd need another plugin to override that.
is this for Ace (as in your profile) or for MV (as in where you posted)? I made a plugin for MV called something like Battle Result Switches, that allowed you to specify a switch to be turned on after a battle ended, to indicate whether the player escaped, won, or lost. You might be able to use that, combined with common events. However, the default behaviour when you lose a battle is for the game to end, so you'd need another plugin to override that.
Its for MV, my bad. Would also be possible to use events for simulated random encounters?
Couldn't you just use a simple script to override the Game Over screen when losing? Something like:
BattleManager._canLose = true
If placed as a battle event on Turn 0, this seems to make the random encounter act like an event battle with the "Can Lose" option selected. Although, I've only used the program for a few hours, so I'm not sure if it could cause any problems...
Original thread: https://forums.rpgmakerweb.com/threads/win-lose-random-encounters.62825/