Using Yanfly action sequences to change the basic attack visuals.

Hello, I've been making new attack visuals for my game that involve physical contact and better hit timing, but I've ran into a bit of an issue. Now the older attack visuals like the basic attack look out of place. So all I want is the ability for the user of an attack to move in front of the enemy, do the attack motion and play the animation, then move back. I also have walking animations in the chant motions for my sideview battlers, and got some help to remove the chanting motion when using an attack.

Here is the note tag I tried to use:

<Whole Action>
move user: target, front base, 30
wait for movement
motion attack: user
animation wait: 1
action effect
animation 1: target
animation wait: 2
move user: home, 30
</Whole Action>

I hadn't implemented the chanting motion yet, but there was a bigger problem, the user would attack twice for some reason, if anybody knows a good way to go about implementing this feature, I'd like to know, thank you!
It's because you're using whole action. From the documentation, whole action is for simultaneously hitting multiple targets; single-target skills use target action.

So your Attack is hitting once from the default target action, then again in your defined whole action. Change it to target action and it will work as expected.

I'm a bit confused by what you're talking about the chant motion, but I don't think that's a part of your actual question.
It's because you're using whole action. From the documentation, whole action is for simultaneously hitting multiple targets; single-target skills use target action.

So your Attack is hitting once from the default target action, then again in your defined whole action. Change it to target action and it will work as expected.

I'm a bit confused by what you're talking about the chant motion, but I don't think that's a part of your actual question.
Thank you! everything works just fine now!

Original thread: https://forums.rpgmakerweb.com/threads/using-yanfly-action-sequences-to-change-the-basic-attack-visuals.161476/