Trb - RestoreBattle (Battle Save)
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.
Features
- Save and restore is done through plugin commands.
- To reset the battle save, run the script
Code:
$gameSystem._battleSaveData = []
<Plugin Command>
Code:
SaveBattle
Saves the previous battle state.
If you want to save multiple times, add a number like "SaveBattle 1" or "SaveBattle 2"
Code:
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)
https://i.imgur.com/Lwl9Vtm.png
Battle with one Minotaur and two bats.
https://i.imgur.com/fsY5c8Q.png
After defeating two bats and then escape-
(SaveBattle was used)
https://i.imgur.com/RB7ARrG.png
Retry the battle: only Minotaur remains
(RestoreBattle 1 restore the state from SaveBattle 1)
https://i.imgur.com/m1wTBJb.png
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
本贴来自国际rpgmaker官方论坛作者:ovate处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/trb-restorebattle-battle-save.114636/
页:
[1]