Original Source
- Original title: Trb - RestoreBattle (Battle Save)
- Original author: ovate
- Original date: October 27, 2019
- Source thread: https://forums.rpgmakerweb.com/threads/trb-restorebattle-battle-save.114636/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)
Summary
RestoreBattle - Version 1.00 (2017/1/14) Creator name: Trb Overview Allows you to save in battle and resume the battle from the battle save.
Archived First Post
Creator name: Trb
Overview
Allows you to save in battle and resume the battle from the battle save.
Features
- Save and restore is done through plugin commands.
- To reset the battle save, run the script
$gameSystem._battleSaveData = []
<Plugin Command>
SaveBattle
If you want to save multiple times, add a number like "SaveBattle 1" or "SaveBattle 2"
RestoreBattle
If multiple files are saved, restored the data with “RestoreBattle 1” or “RestoreBattle 2”
Note: plugin commands for this plugin are not case sensitive. SAVEBATTLE and savebattle can be used.
Event Sample)
Battle with one Minotaur and two bats.
After defeating two bats and then escape-
(SaveBattle was used)
[Harold escaped!]
Retry the battle: only Minotaur remains
(RestoreBattle 1 restore the state from SaveBattle 1)
[Minotaur appears!]
Credit and Thanks: Trb
Terms of Use- Free for commercial and non-commercial use.
License - MIT License: http://opensource.org/licenses/mit-license.php
You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/68qehkaoew47j5u/Trb_RestoreBattle.js?dl=1
Features Mentioned
- Save and restore is done through plugin commands.
- To reset the battle save, run the script
- Code:
- $gameSystem._battleSaveData = []
- SaveBattle
- Saves the previous battle state.
- If you want to save multiple times, add a number like "SaveBattle 1" or "SaveBattle 2"
- RestoreBattle
- Before the battle event, you can restore from battle save.
- If multiple files are saved, restored the data with “RestoreBattle 1” or “RestoreBattle 2”
- Note: plugin commands for this plugin are not case sensitive. SAVEBATTLE and savebattle can be used.
- Event Sample)
- "lightbox_close": "Close",
- "lightbox_next": "Next",
- "lightbox_previous": "Previous",
- "lightbox_error": "The requested content cannot be loaded. Please try again later.",
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
Credit and Thanks: Trb Terms of Use- Free for commercial and non-commercial use. License - MIT License: http://opensource.org/licenses/mit-license.php You can download js file from the thread attachment or Dropbox link: https://www.dropbox.com/s/68qehkaoew47j5u/Trb_RestoreBattle.js?dl=1
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...