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,675
Reaction score
11,204
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

Arrr me mateys, have ye seen the new Advent pirates? Wouldn't want to cross paths with those scallywags.
Is there a clinical term for the disorder wherein you always have way too many Internet browser tabs open?
Kokoro Reflections is my favorite tileset maker. I absolutely love their work. I have bought quite a bit from them. Best RPG Maker tileset creator ever imo.
Me working on a deadline, "don't make the baseline and chords too funky, don't over compose it... remember, you have to finish it." Touches MIDI controller...instant funk.
TGA are coming up, and I'm still mad Lies of P didn't get nominated.
Like, they chose a remake of a 20 year old game and a vanilla 2D Mario game over it?

Bah, humbug!
I'll be there for the trailers and whatever weird mistakes are made.

Forum statistics

Threads
136,782
Messages
1,269,931
Members
180,534
Latest member
yuki7744111
Top