Is there an easy way to make effect that resets battle, returning you to turn 1? Also gives back your items, yes. I found this realised in this blog post, but it's kinda lengthy, and so I wonder if there is some other easier way to do that.
Easy reset battle effect? (Items revert too)
RPG Maker MZ SupportYes.
@Raycat2011, care to elaborate?
@Jobnob, you could try looking at some sort of quicksave/autosave that would take you back to right before the battle began. Not sure exactly how that would work, but it's something.
@Jobnob, you could try looking at some sort of quicksave/autosave that would take you back to right before the battle began. Not sure exactly how that would work, but it's something.
Like what?
If there were an easier way, that would be what the tutorial used.
The tutorial, of course, is all in-engine using event commands and script calls - you could Google to see if there's a plugin that will do some of it. Otherwise, it would probably do you some good to read the lengthy article and learn more about the engine and such. That's the point of tutorials.
is it supposed to be for all battles or just a specific one? cause if it were just for a single battle it shouldnt be difficult saving your party's inv hp and mp beforehand and then set it back afterwards through a couple of script calls
For all battles, yes. So if you made a slip up on some boss battle, you could just start again without rolling to previous save or something
I suppose you could do what Tridium said. Make an autosave and just put an if lose condition that script call loads the latest save. No game over screen or anything.
Okay, I'm currently trying auto save thing, and it doesn't seem to work with battles
What it does is makes game go back to overworld autosave, not the one in battle. Any ideas how to make it work with in-battle saves?
What it does is makes game go back to overworld autosave, not the one in battle. Any ideas how to make it work with in-battle saves?
Sounds like a cool plugin to make. Did you find a solution? I can try to make a plugin that rewinds time in-battle, undoing all damage, enemy and party member deaths, and inventory updates
The only solution I found is putting autosave before battle processing, and then making skill that rewinds you to that autosave.
Result - using skill reverts you to the point in overworld when you just triggered a battle.
Problem - Looks kinda janky, since you're thrown out in overworld for a moment. I guess I could use fade in and pictures to make this part less jaring, but plugin that simply can revert battle would be strongly appreciated still
Missed this thread the first time around... but this plugin may be what you are looking for? It allows you to select "retry" on the gameover screen, and alternatively also provides a plugin command with which you can retry the battle mid-battle.
plugin-mz.fungamemake.com
戦闘リトライ - #ツクプラMZ
戦闘で敗北したあとのゲームオーバー画面でリトライ可能になります。雑魚敵とボス敵とでリトライ可能かどうかを分けることができます。リトライを選択すると一度だけメニュー画面を開いた後で、再戦できます。
plugin-mz.fungamemake.com
Downloaded, didn't changed anything, added plugin command to common event, and it crashes with "PluginManagerEx is not defined"
Do you have the base plugin installed? It should be in your
\dlc\BasicResources\plugins\official folderNo. In fact, it's the first time I hear about a base plugin. What is that?
It's a launch plugin. Both the launch plugin as well as the battle retry plugin are written by the same author, triacontane. Think of it like how all the Visustella plugins require the Core plugin to function.
There's a bunch, actually. If you weren't aware, it might be worthwhile to skim through these pages, as they are quite useful and good for studying how to make a plugin or modify existing ones:
There's a bunch, actually. If you weren't aware, it might be worthwhile to skim through these pages, as they are quite useful and good for studying how to make a plugin or modify existing ones:
I created new project to see what base plugins there is, and that's the list. I don't see anything that resembles core-like plugin, so do I need some kind of official dlc to get it?
It’s in the dlc folder of the installation. Do you have steam version?
Okay, I found it in steam folder for rpgmaker (I thought dlc content would be in projects), and well
Hmmm... can you force the battle to end and THEN go back to the battle return scene?
Like that? Doesn't work.
Original thread: https://forums.rpgmakerweb.com/threads/easy-reset-battle-effect-items-revert-too.163880/