Using Yanfly action sequences to change the basic attack visuals.

Misk-ivus

Regular
Regular
Joined
Jul 14, 2023
Messages
85
Reaction score
6
First Language
English
Primarily Uses
RMMV
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!
 
Last edited:

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,692
Reaction score
11,262
First Language
English
Primarily Uses
RMMV
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.
 

Misk-ivus

Regular
Regular
Joined
Jul 14, 2023
Messages
85
Reaction score
6
First Language
English
Primarily Uses
RMMV
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!
 

Latest Threads

Latest Posts

Latest Profile Posts

Yknow what? Im seriously considering recruiting a manager to oversee my games development.
Because I cannot focus or complete these tasks by myself. I need someone to give me orders, without having them be my boss.
yp_4vS.png

Remember my latest plugin for rpg maker mz:

Acknowledgement Window is now available!

Take a look here:

Got my focus back, 9/59 maps have the door fix in place now.
Making a small RMMV project has made me realize that I've never actually made a credits sequence for a game.

Forum statistics

Threads
136,802
Messages
1,270,179
Members
180,558
Latest member
Kev03
Top