The Escape skill. What does being escaped mean?

fugahagen

Veteran
Veteran
Joined
Oct 31, 2017
Messages
59
Reaction score
21
First Language
english
Primarily Uses
RMMV
Does being "escaped" just change "_hidden" to true?

If so can I just use "_hidden" to simulated actors not in battle but who will be back soon. For stuff like the "Jump" command from Final Fantasy.

What I'm mostly trying to do is make it so people can come in and out of battle. Wanted to just use the Escape command and then change the _hidden var to false when they come back but I'm not sure if there is more to it than that.
 

Arctica

Veteran
Veteran
Joined
Jul 19, 2021
Messages
159
Reaction score
258
First Language
English
Primarily Uses
RMMZ
3 Months ago I made a teleport spell for my early project that pretty much did what you wanted, though different purpose. It allowed enemies to teleport party members out of the battle. I made a counter spell call recall that allows party members to bring back the party member that was teleported out.

I did it by using the $gameParty.removeActor(actorId) and $gameParty.addActor(actorId) script calls. This is assuming those script calls exist for MV as I did this for MZ.

Also it looks like escape does just hide them:

JavaScript:
Game_Battler.prototype.escape = function() {
    if ($gameParty.inBattle()) {
        this.hide();
    }
    this.clearActions();
    this.clearStates();
    SoundManager.playEscape();
};

and when you dig deeper:
JavaScript:
Game_Actor.prototype.hide = function() {
    Game_Battler.prototype.hide.call(this);
    $gameTemp.requestBattleRefresh();
};

and deeper lol
JavaScript:
Game_BattlerBase.prototype.hide = function() {
    this._hidden = true;
};
 
Last edited:

Latest Threads

Latest Profile Posts

What happens with this list, is it currently possible to buy any of these RPGMAKER at least those that are for PC?

Combat skill combination demostration
grief... finding a font that works with the engine has been a bigger process than I thought it'd be. doesn't help MV loves to scrunch letters next to each other like a football huddle.
The new Phoenix plugin. I drew icons and an interface into it

Forum statistics

Threads
122,182
Messages
1,147,096
Members
160,455
Latest member
fajar82
Top