Force Field Question

So... I'm not sure if this is possible without extensive scripting (which I don't know how to do), but I at least need someone to say that it isn't possible so I stop looking.
What I want to do is this: have an enemy place a force field around an actor (I have Yanfly's Force Fields plugin), which puts a state on the actor. Other actors can then attack their ally to destroy the force field, and the trapped actor loses the state once the force field is destroyed.
I'm...assuming that when you say Force Fields, you mean Absorption Barrier (which is completely different words, but fits what you're asking for 🤣).

This is pretty straightforward. Your enemy's skill puts a state on the actor. The skill also has the notetag:
Code:
<Target Barrier: +x>
where x is how many points you want the barrier to have.

The state has the restriction Cannot Move in the database. It also has the Buffs & States notetag:
Code:
<Custom Respond Effect>
if (target.barrierPoints()<=0)
    target.removeState(stateId);
</Custom Respond Effect>

To allow actors to target their ally, you'd have to install and configure the Target Core (or Selection Control, whichever it is).
Alright, thanks! I couldn't remember the name of the plugin, so I just called it force fields. But I tested and it does work, so thanks.

Original thread: https://forums.rpgmakerweb.com/threads/force-field-question.163608/