Manipulate an actor's movements with Action Sequence Pack (Resolved)

Good morning,
I would like to know if it is possible to manipulate the movements of an actor with the Yanfly Action Sequence Pack plugin (I have all 3).
The idea is to move an actor A while another actor (B ) is performing the action. I would like the player to believe that it is actor A who is performing the action.

Currently my action uses this:


<setup action>
PERFORM START
DISPLAY ACTION
</setup action>

<target action>
move user: target, front center, 5
MOTION ATTACK : user
wait : 10
animation 141 : target
wait : 30
action effect
<\target action>


I imagine that I will have to modify some things:
1) "PERFORM START" will have to be replaced by something else to move the actor forward.

2) All the "user" will have to be replaced, but I don't know by what. Ideally, I would like to move an actor based on their position in the team (actor1, actor2, etc.)

3) I imagine that you should use <follow action> or <finish action> to return the character to its initial position. But what should I put in it?

4) This last point is optional, but if possible, I would also like to add a condition to make the actor move. Like: if actor1 is affected by state x, then actor1 moves (for move user: target, front center, 5 for example)
It will be easier for me to move the actors I want based on a state. I will only have to put a condition on each of the actors of my team in a single skill, and I will decide who moves according to the state that I have assigned to a character in advance.


I hope what I'm asking is doable. Thanks to those who will help me. English is not my original language so don't hesitate to ask me to rephrase.
You can do this - it's all in the instructions for Action Sequence Pack 2.

1) "PERFORM START" will have to be replaced by something else to move the actor forward.
perform start is just stepping forward 48 pixels over 12 frames, so you can plug that into the move forward command.

2) All the "user" will have to be replaced, but I don't know by what. Ideally, I would like to move an actor based on their position in the team (actor1, actor2, etc.)
From the target typing table:
1715696481634.png


3) I imagine that you should use <follow action> or <finish action> to return the character to its initial position. But what should I put in it?
They don't actually make a difference. There might be some difference if you're using the action phases along with notetags from the Skill Core or the Buffs & States Core, there might be something that gets evaluated in between follow and finish. But I've never bothered to use a follow action.

4) This last point is optional, but if possible, I would also like to add a condition to make the actor move. Like: if actor1 is affected by state x, then actor1 moves (for move user: target, front center, 5 for example)
Okay, so what's the question? Do you just need the script call for the condition? battler.isStateAffected(x) where battler is the reference to the actor.

Thus, if you want to check the second party member for having state 42, it's
Code:
$gameParty.members()[1].isStateAffected(42)
Thank you so much. Once again, you have the answer to everything. A huge thank you =)

Original thread: https://forums.rpgmakerweb.com/threads/manipulate-an-actors-movements-with-action-sequence-pack-resolved.168670/