Common event determines target index in battle?

I have a "Commander" class that orders other allies to attack out of turn (using Yanfly's ATB or CTB system.) However, the cost of this is that it interrupts the ally and can only be used for a few things. 

For the mechanic to work properly, I need to use Force Action. However, for the mechanic to have appropriate strategic depth, I need it to be targetable. 

I'm trying to work it through a common event. I have a "Order Attack - PartyMember" skill for every party member (unlocked through friendship quests.) When the skill is used, it evokes a force action common event directing the party member in question to attack. However, I cannot target this at a specific enemy.

If I could find a way to make a conditional branch ask for the skill target's target index, I think I could make this work. How can I make a conditional branch asking for a skill target's target index?

....I think this is the right place to post this. I'm sorry if it isn't. 
1 day later bump. 

If there's another way to do things, I'm all ears. 
Not my job to warn you but just looking out for a fellow member. Daily bumps will get you in trouble. I don't bump often, but I think it's three days before a topic bump is allowed. The rules are pinned in the forum. You should check 'em out. 🙂

I'd also try posting this in "Plugin Requests". Just to be safe.
The rules say to not bump "more than once every 72 hours". Although now that you mention it, I think I recall a 3 day rule being referenced by the moderators. I'll send a PM to a moderator explaining the typo on the rules page. Sorry for the trouble. 

I was hoping to solve this without relying on plugins, but I guess I'll go try there. Thank you for your response. 
The rule does not mean you can bump a day after posting and then not again for 3 days - it means you cannot bump within 3 days.


Also, we don't like people posting multiple threads with the same request. Since you'd prefer to not use plugins, I will leave this thread here and lock the other one. Then if, after a few people have had a look/think/discussion about it, it's decided that you do need a plugin, we will move the thread.
I have a "Commander" class that orders other allies to attack out of turn...

...I need it to be targetable.
Have you considered adapting Jay's Dual Tech plugin for this purpose? http://forums.rpgmakerweb.com/index.php?/topic/47765-jays-dual-tech-system-version-105d-and-extension-for-ellyes-atb-101/
If you don't want to use plugins at all, you can create an invisible state and make the skill add it before calling the common event. You can then use the "conditional branch" command to check which enemy got inflicted with that state (was targeted by the skill).
It's a neat plugin, but I'm not entirely sure how it works yet. I might use it for something else down the line. 

If you don't want to use plugins at all, you can create an invisible state and make the skill add it before calling the common event. You can then use the "conditional branch" command to check which enemy got inflicted with that state (was targeted by the skill).
Works exactly how I want it to! Thank you so much!
Bonjour je suis francais
Je cherche des exemples de target en combat
pourriez vous me dire ou je pourrai m'en procurrer
merci d'avance pour votre réponse
Necro-post notice: @Dan59

Additionally, for future posts be sure to provide an English translation as this is the English forum. A translation tool is perfect if you need one. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/common-event-determines-target-index-in-battle.52691/