Need a little help with Yanfly's Battle Command List script running an Escape command.

https://yanflychannel.wordpress.com/rmvxa/battle-scripts/battle-command-list/

Okay, so, according to the script, by placing Skill X in the Actor Command Window Settings module, I can make that skill appear directly inside the command window and execute it right there.

Problem is, it doesn't seem to do anything. I'm trying to run an Escape skill from the command window. It shows up, it says Escape, but it doesn't actually DO anything. The confirmation sound plays, but no action is taken. So, either it's something to do with the script, or something to do with my Escape skill.

xfhS87k.png


Can anyone provide an answer to my problem?
maybe it just don't succeed... how many times have you tested it?
If you hadn't simply made a new escape skill but looked at the description in the original escape skill, you would have learned that this escape function is for enemy only.

Actors use a different escape function - there might be a way to do that by script call, or you can try to re-enable the original function - but the "Special Effect Escape" will only work on enemies.
If you hadn't simply made a new escape skill but looked at the description in the original escape skill, you would have learned that this escape function is for enemy only.

Actors use a different escape function - there might be a way to do that by script call, or you can try to re-enable the original function - but the "Special Effect Escape" will only work on enemies.
But... this skill works just fine.

Rxwdlkg.png


The difference is that this one is executed as a proper skill from the skill menu and has a 100% success rate, but costs MP. It totally works though.

But... if there's a different way to do it... can I maybe make a proper escape skill by having a skill run a common event which runs the normal escape script? What would I need to put into the script box?
or maybe because the target here is all allies while your other one is user only...

that and the success rate difference...

seriously, 

how many times have you tested it?
If you hadn't simply made a new escape skill but looked at the description in the original escape skill, you would have learned that this escape function is for enemy only.


Actors use a different escape function - there might be a way to do that by script call, or you can try to re-enable the original function - but the "Special Effect Escape" will only work on enemies.
When an actor escapes, that actor leaves the battle.
or maybe because the target here is all allies while your other one is user only...

that and the success rate difference...

seriously, 
Well like I said... the skill just does nothing at all. I can hit the button all day, but it's ineffective...

...But I've discovered another problem because...

When an actor escapes, that actor leaves the battle.
This made me curious and I went and tested that Smokescreen skill that did work.

I first had one of my characters kill themselves with a suicide skill.

Then I used Smokescreen.

...This makes you get a game over, because the dead character does not leave the party and they're the only one remaining.

Or at least I think it counts as a game over, I tested it in a test battle, but it said "X was defeated."

So... neither skill works then.

So I need to find an alternative method...

Like I asked before... does anyone know how I might call for the normal escape effect through a common event script call?
Find the escape command handler in the scripts menu and see how it's done... CTRL+SHIFT+F to search all scripts
Find the escape command handler in the scripts menu and see how it's done... CTRL+SHIFT+F to search all scripts
Um... I don't know ANYTHING about scripting so... everything that comes up is just Greek to me. I haven't the faintest idea what I'm even looking for.
I was actually thinking you'd find it and post it here... can't open the maker right now coz I'm in the office... I'll take a look if I get some breaktime...

EDIT: got a look...

It seems like the escape command is processed in such a way that the turn doesn't process if escape is successful...
Yes, the actor leaves the battle, but that does not mean the party escapes.

You will need a script in order to correctly stop the battle if actors simply fled and didn't die.

Like I asked before... does anyone know how I might call for the normal escape effect through a common event script call?
Script call

Code:
BattleManager.process_escape
Yes, the actor leaves the battle, but that does not mean the party escapes.

You will need a script in order to correctly stop the battle if actors simply fled and didn't die.

Script call

BattleManager.process_escape
Okay so, this script call, when used with a skill, will run the escape command.

Buuuut...

1. When used with the Smokescreen skill I posted above, it doesn't ALWAYS escape. How can I ensure a 100% escape chance when used with this skill?

2. The Escape command in the battle command list still does nothing. I press the confirm button, it makes the confirmation sound... but nothing happens.

Help?

Edit: To clarify, Smokescreen should only 100% escape when escape is normally possible. I don't want to be able to use it when fighting a boss. Otherwise I could just run the Abort Battle command.
Use a common event to check whether you are in a boss fight or not then and have the common event do the show message and battle abort.
Use a common event to check whether you are in a boss fight or not then and have the common event do the show message and battle abort.
Um... How do I check if I'm in a boss fight? >_>
Um... Please help?
Um... How do I check if I'm in a boss fight? >_>
Turn a switch on (Name it 'Boss Fight No Smokescreen' or something) right before any boss fight, have have the smokescreen common event not do anything if the switch is on.  After the boss battle, turn the switch off.

Original thread: https://forums.rpgmakerweb.com/threads/need-a-little-help-with-yanflys-battle-command-list-script-running-an-escape-command.17536/