Can I force a player to use a skill only on a specific enemy?

Hi! In my RPG one of the player character works kind of like a constructor snake. It's actually a slime that attaches to an enemy. During its turn, it can use one of its abilities to attach to an enemy. Once it uses this ability, it has to use its turn to either keep constricting the enemy or unstick so it can target someone else.

I did this the following way:
The player has an ability called Attach. Once you use it, the character gains the state "attached" while giving the enemy one stack of the "goo" state. (Not important for this right now so I won't dwell on it)
Attached gives the character two abilities: "Stay attached" and "Unstick". It also restricts any other action from this character. Whenever you use Unstick, the character loses the "attached" state, so it can attack as usual, use other skills, etc.

Stay attached should target the enemy targeted by the Attach ability only, but I don't know how to do that. Could there be a way for it to happen?
I don't remember if this was available for VXA, but in more modern makers the force action command has the last target option.

if that is not possible, then you have to use tsukihime's untargetable script to remove the other enemies from being targetable, but that unfortunately messes up everyones target if you have more than one actor.

if both options above fail, it will be much more complex to use a different target script with ruby code for targeting.
What exactly does the Attach ability do? If the player chooses "stay attached", what happens (to the actor and the enemy)? If it's something passive, like actor can't move again, and enemy loses some HP or whatever, maybe you could have a switch turn on when the player chooses attach, and every turn check if it's on and then keep the attached state for the actor and force whatever is done to the enemy that has the goo state? Would that work?

(This would have to be done for each troop, so maybe too much work?)
I don't remember if this was available for VXA, but in more modern makers the force action command has the last target option.
It does, yeah. But when I tested the battle, I think it targets the creature that attacked last. I'm not entirely sure how it works, I'll try to check it out more in-depth.
(This would have to be done for each troop, so maybe too much work?)
I don't think it's a bad idea... But having to do that for each troop will be a pain! Oof.

that unfortunately messes up everyones target if you have more than one actor.
Yeah, the plan is to have more than one actor, mainly because you're sacrificing one of your units so the enemy troop can't properly use one of their units, basically. Plus, it wouldn't make sense narrative-wise.
it will be much more complex to use a different target script with ruby code for targeting.
🙁

Original thread: https://forums.rpgmakerweb.com/threads/can-i-force-a-player-to-use-a-skill-only-on-a-specific-enemy.152616/