Manipulating Game Over

EDIT: Upon closer examination what I need is to somehow simulate a random encounter, that way I can just run everything through Battle Processing.


Not sure if this is going in the right place but I do have another question. Is there any way to make it so when the player gets a game over they are instead returned to the hub town. it is kind of frustrating to have to reload every time you die. I am aware I could make all the encounters as events, but I would very much prefer to avoid that.
If it's just one hub town for the game you can just use the plugin "HIME_GameOverEvents".


But if you need an "autosave system" I've managed to do this using Sabi's code from this thread's 8th reply.
https://steamcommunity.com/app/363890/discussions/0/451850849179124845/


If you're going the AutoSave route, I suggest you to use the slot 0 for the autosave file. This way the file is invisible to the player and avoid overwritting a slot that the player might use.
I think one thing I could try would be to make event battles that simulate random encounters, however I am unsure how to go about this.
You can use this: http://himeworks.com/2015/11/gameover-events-mv/

Tried it, didn't run very well.
@GideonFletcher How so? I use it for my project and it works like it's intended to.
When I used it, I would use it to teleport to a blank room that would transport the player to the town. The plugin doesn't allow you to specify coordinates which is a little frustrating. Not to mention the event i tried making would loop endlessly. I think what I need is random encounter events as opposed to death events.
@GideonFletcher What you should do is leave the room blank and inside that room make an autorun event that will transport the player to the spot and map that you want it too.
that is exactly what i did.
@GideonFletcher  Did you put an end eventing command after the map transfer?
Is there a proper one to use, since I just used end event processing or erase. Either way though, the plugin doesn't work with what I want to do. What I need to do is randomized event battles.
@GideonFletcher  Ok then your next beat is switches. After the transfer turn on the switch that will lead to a empty 2nd page of that event. Then when on the new map you turn the switch off.  

Original thread: https://forums.rpgmakerweb.com/threads/manipulating-game-over.62792/