Documentation
Quick InfoVersion: 1.0.0
Made for RPG Maker MZ 1.9.0
The BasicsThe result variable will be set to 0, 1, or 2 based on result (by default).
0 = win
1 = escape
2 = loss
This variable is only set once at the end of a battle, so can be re-used for other temporary things if you wish to cut down on variables used.
If it is not being set to these numbers, you have another plugin that changes the default battle end values - consult that plugin to see what to expect for each battle result.
Can Lose SwitchThis switch determines whether the party can continue after losing a random battle instead of getting a game over. It sets this status when the battle begins. If you change this switch value during the battle, this will NOT change whether the party can lose. It will go by whatever the value of the switch was at the start of battle.
This switch should not impact evented battles, only random encounters.
Plugin CommandsThis plugin does not use any plugin commands.
Saved GamesThis plugin is fully compatible with saved games. This means you can:
✓ Add this plugin to a saved game and it will work as expected.
✓ Change any plugin params and changes will be reflected in saved games.
✓ Remove the plugin with no issue to save data.
Filename
The filename for this plugin MUST remain CGMZ_BattleResultEvents.js. This is what it comes as when downloaded. The filename is used to load parameters and execute plugin commands. If you change it, things will begin behaving incorrectly and your game will probably crash. Please do not rename the js file.
Known Issues
This plugin currently has no known issues that need to be fixed. If you believe you have encountered a bug, please report it to Casper Gaming.
Compatibility
This plugin currently has no known compatibility issues with other RMMZ plugins. If you believe you have encountered a conflict, please report it to Casper Gaming.
Version HistoryVersion BetaR2
- Added separate common events that only run depending on battle result
- Converted enable/disable functionality to game switch
- Converted can lose option to game switch