Escape Feature for On Map Encounters

So I am flushing out my On-Map Encounters and ran into a design detail: Escape. Since the monster event will continue to forever catch the player in a deadly game of tag no matter how many times they escape, I thought it would be nice to teleport the player to the start of the map, or if they have unlocked/discovered a safe area like a campsite or halfway house or nearby town, that they will teleport to the town. This feature would be followed up with the lead character making a comment about 'whew we managed to escape.' Or, 'won't do that again.' -Depending on personality. I was talking this over with my hubby when he mentioned why not just do what old games did and have the monster fade away.

Aaannnnd...I just went, 'oh.'

So, what does the community think? Do you have on-map encounters fade away, erase event, have a wait pause on the monster so the actors can flee, teleport or something else?
What I have is this:
Escape used
Enemy sprite goes to opacity 100 with Through turned ON so that it cannot initiate a new battle.
Move away from player 3 tiles (with Skip if cannot move)
Wait 100 frames
Opacity 255
Through OFF

That gives the player a bit of time to decide what they want to do.
I'd be very hesitant to implement teleporting the player to the start of the map if they run from a battle. Players will have to run the map again, and they'd get frustrated. I know I would be. Players run from battle in games for a reason - either because they aren't prepared for it, or because they simply don't want to engage with your combat system at the moment. Don't penalize them for this 😅 I think the only time you could do this without frustrating players is in a rogue-like game...maybe.

This is what I do for fleeing on-map encounters:
-enemy stops; becomes passable
-enemy freezes for varying amount of time (early encounters are like 10 seconds, later encounters are ~6 seconds)

Some other ideas:
-if enemies respawn, just wipe the encounter out and have it respawn later
-have the party drop some gold/items to escape
-teleport the enemy, not the player, away
I have made a plugin to automatically save with each transfer, so if the player dies, they loaded at the start of the map always.
@Cythera - Oh! I hadn't even considered it was penalizing the players. I saw it as trying to be helpful to get them to a safe area to recoup. I hadn't considered that it would be the player just doesnt' want to deal at the time. 😅
I have a buffer parallel processing event on every map with enemies. It does the following:

* Enemies have an extra page that is only activated by this buffer switch.

* Escaping activates the switch and pauses every enemy on the map via Yanfly's Stop Movement script for 40 something frames.

* This also makes enemy events passable, so you cannot be mobbed upon escape or trapped by enemies at all during this timeframe. Extremely useful for tight corridors.

The "escape teleports you away" thing is a bit silly and would absolutely frustrate me if it happened every time I just want to escape from an enemy. I also have never seen a game that does this.

So instead my answer is to have this happen when you lose a fight. You have two functions: Retry and Continue. Retry just takes you back into the fight you just lost, while Continue resets the map and takes you back to the entrance of the current map.
Like everyone else, I made the enemy frozen for a few frames.

The twist is, that there was an escape cooldown, increased each time you flee (this requires a plugin). For example, if you flee for the first time, the next time you entered a battle, you have to wait for 1 turn to flee. If you flee in the next turn, the next battle gonna have 2 turns to escape cooldown. This reset until you actually win an encounter.
Oh wait... the question was about escape, so the autosave I made isn't even an option. 😛

Have you played World of Warcraft? In that game you have an item named Hearthstone. You can bind that item to any inn by talking to the innkeeper. Using the item would transfer you to the chosen inn.

This is easy to make without need of plugins. Is that an idea?
@JohnDoeNews - I played WOW ages back in the early days when reaching level 20 was a challenge. XD Was never hardcore into it though and played it sporadically. That said I am familiar with the Hearthstones. Hm, I could consider something like that.

EDIT:
Hmm. @Cythera - So if monsters respawn, (mine are currently set to do that) than just erase the encounter and do not bother with @Kes's suggestion of having them walk away? I have tried both, as per what you have both suggested, and they are both good ideas. I do have some small problem with Kes's suggestion where the enemy movement route is messed up but that's not too bad.
Mine are set to just erase if they escape too.

EDIT:
Well basic ones are. Certain ones you cannot escape from because of how they are. Like if it's a grabby creature or sink hole type creature.
So there's another option here: why allow the escape command for on-map encounters in the first place? It's kinda redundant. If the player doesn't want to fight the monster, don't touch it. Escaping, I would say, is more for random encounters since the player can't control when they get into fights otherwise.

If you stick with allowing escape, I wanted to suggest having escape move the encounter rather than the player. But I guess that creates an edge case where the monster could already be standing in their spawn location. I don't know what your aggro situation is. For me, I made an eventing system where the monsters have a little "!" (like Metal Gear I guess) and they change their event page to their chase state. They can't actually start combat while doing the "!" animation, so that gives the player time to run away. But maybe you're not using an aggro system?
So there's another option here: why allow the escape command for on-map encounters in the first place? It's kinda redundant. If the player doesn't want to fight the monster, don't touch it. Escaping, I would say, is more for random encounters since the player can't control when they get into fights otherwise.

If you stick with allowing escape, I wanted to suggest having escape move the encounter rather than the player. But I guess that creates an edge case where the monster could already be standing in their spawn location. I don't know what your aggro situation is. For me, I made an eventing system where the monsters have a little "!" (like Metal Gear I guess) and they change their event page to their chase state. They can't actually start combat while doing the "!" animation, so that gives the player time to run away. But maybe you're not using an aggro system?
If you have enemies chasing you with a moveroute to approach, or a chase plugin, and a "on touch" trigger, then the player might not have that option.

I agree on the not allowing escape thing, though. I do that too. But then I expect players to not run into hordes of zombies (which are the enemies in my game)

@Guardinthena What you can do too, is to make the enemy temporarily walk away from the player for 5 steps or so, when escaping. Giving the player a chance to run away.
Thank you everyone for your advice.

@wootbm - the combat system I have set up is through Yanflys Event Chase. So, their is a range where they aggro and chsse the player. Eaxh monster has a different speed rate. For example- horses would run faster than zombies. Once the player escspes their sight range, if they can, the enemy event will go back to their place and continue their patrol. So outrunnimg them or not touching them may not be possible sometimes. And honestly, I did not even consider NOT having an escape function avaliable. Every game I have ever played had the ability to run if overwhelmed. I am attempting to build a large open world, so players could end up in areas they might not be ready for. Huge inspirations for me are games such as Chrono Cross and Baldurs Gate. The former is turn based and has escape functions and the other is a live action combat with a pause function. There have been plenty of times in both where I have had to run.

I have liked both ideas of having the monsters fade away to erase the event and having them walk away. I think in Chrono Cross the enemy was frozen for a bit, someone correct me if I am wrong.
* This also makes enemy events passable, so you cannot be mobbed upon escape or trapped by enemies at all during this timeframe. Extremely useful for tight corridors.
Makes me think of how some games have "invincibility" frames after taking damage that let you move through enemies, just changed to rpg mechanics. I love it and plan on doing it myself in a situation like this.

Mine are set to just erase if they escape too.
However, this is how I've done it in the past and still like. You 'beat' the battle via escaping, you just don't get any rewards. I also like the thing some games do where if you are strong enough, you just auto win without entering battle. You touch the enemy, they explode or whatever, you get rewards on the map screen.

So instead my answer is to have this happen when you lose a fight. You have two functions: Retry and Continue. Retry just takes you back into the fight you just lost, while Continue resets the map and takes you back to the entrance of the current map.
I love this option and I plan to use it when I can even with random encounters.
I love this option and I plan to use it when I can even with random encounters.
It would be a lot harder with randon encounters though, unless you somehow (with some plugin) can trigger a common event when losing a random battle.
@JohnDoeNews I believe, there is in fact a plugin for just that 😉

Original thread: https://forums.rpgmakerweb.com/threads/escape-feature-for-on-map-encounters.151337/