MV YEP Utility Common Events Problem

I bought Yanfly's Utility Common Events plugin (and everything else they made for MV). I can't get the common event to function when escaping. I even made a new project to do nothing but get it to work. The common event does function from winning a battle.

The solution seems to be to use SR Dude's Battle End Events Plugin. It is working so far.

I wanted some NPC allies to join randomly without becoming a permanent member of the party. So, they should leave after joining for a battle, even if you escape the battle. When dealing with particular events, that is easy enough to deal with just using the "for escape" option. However, I have the game so that there is a random chance for an NPC to join almost every battle, so a universal event is a lot more helpful for this situation.
When you can't get something to work, it's important to show the work you've done. Just saying you can't get it to work doesn't help us to tell you what might be wrong - please supply screenshots of the plugin parameters, common event in the editor, whatever is involved in setting this up.
When you can't get something to work, it's important to show the work you've done. Just saying you can't get it to work doesn't help us to tell you what might be wrong - please supply screenshots of the plugin parameters, common event in the editor, whatever is involved in setting this up.
I think these are the screen shots that should show what is needed.

Spoiler: relevant screen shots
escape_event.png

escape_event2.png

escape_event3.png
@ATT_Turan Since I have the plugin, I did a simple test. All it requires is for the player to attach a common event to whichever of the conditions they want to use. In my case, I chose common event 5.
Spoiler: Plugin Parameters
1658714861580.png

I simply have the common event set a variable to 5 as a simple test. It fails to work as advertised. No idea why.
I simply have the common event set a variable to 5 as a simple test. It fails to work as advertised. No idea why.
Huh. Okay...then I guess I'll take a look.
I have a question... Are you using random encounters or visible enemies? Meaning are you allowing the program to determine when a battle takes place? Or are you making an event that has the battle command in it?
I have a question... Are you using random encounters or visible enemies? Meaning are you allowing the program to determine when a battle takes place? Or are you making an event that has the battle command in it?
I use on-screen enemies. For each enemy, the battle can be determined at random from multiple options, though.

I am using a common "base troop event" for every battle that has other random possibilities, such as an ally joining for the battle.
There's a typo in the plugin. Open it up and go to line 36 that says
Code:
* @param Escape Battle Event

Lower in the code, when it's actually loading that parameter, it's called "Battle Escape Event" - just swap the words on line 36 to match, reload the plugin in your plugin manager, save the project.
There's a typo in the plugin. Open it up and go to line 36 that says
Code:
* @param Escape Battle Event

Lower in the code, when it's actually loading that parameter, it's called "Battle Escape Event" - just swap the words on line 36 to match, reload the plugin in your plugin manager, save the project.
That worked, thanks!

Original thread: https://forums.rpgmakerweb.com/threads/yep-utility-common-events-problem.149783/