New account registration is temporarily disabled.

MV - YANFLY ACTION SEQUENCE - NOTE TAG HELP.

Posts

Pages: 1
SunflowerGames
The most beautiful user on RMN!
13323
RPG Maker MV, Yanfly Action Sequence 1 and 2 script.

Setting up a skill to attack one enemy is working.
(Though there's some weird hand gesture thing going on.)
But setting up attacking multiple enemies...

This attack will attack all enemies twice.

Current notetag

<Target Action>
move user: target, front base, 30
wait for movement
motion swing: user
perform action
action animation: target
wait for animation
action effect: target
motion swing: user
perform action
action animation: target
wait for animation
action effect: target
</Target Action>

What happens:

He stand there does damage

then moves and attacks twice.

He should just move and attack twice.
Change <Target Action> and </Target Action> to <Whole Action> </Whole Action>
SunflowerGames
The most beautiful user on RMN!
13323

I now have it at:

<Whole Action>
move user: target, front base, 30
wait for movement
motion swing: user
perform action
action animation: target
wait for animation
action effect: target
</Whole Action>

This is now what it does...

Goes up to whole group attacks once.
Then attacks each one individually, without moving.

Even though I have it set to only attack once in the animation,
because doing it twice will do it three times?

Anyways it's a huge improvement, thanks.
The issue is the way that action sequences work. By default, all skills have a default action sequence for each section. If your skill has one or more sections undefined (as in you didn't put them in there) the default sequence is played instead.

While I'm not sure what it contains completely, without looking it up, the default target section definitely contains an action animation: target, and action effect: target.

Meaning that since your target action section isn't defined in this sequence, you're dealing damage to all foes in the whole action, and then individually to each foe after.

In short, you want to include a blank <Target Action> tag after the whole action. Like so.
<Whole Action>
move user: target, front base, 30
wait for movement
motion swing: user
perform action
action animation: target
wait for animation
action effect: target
</Whole Action> 
<Target Action>
</Target Action>

SunflowerGames
The most beautiful user on RMN!
13323

This is what I have now, it works the best so far.
(Actor moves and just attacks whole group twice.)
You are like a Yanfly note tag god.

<Whole Action>
move user: target, front base, 30
wait for movement
motion swing: user
perform action
action animation: target
wait for animation
action effect: target
wait for movement
motion swing: user
perform action
action animation: target
wait for animation
action effect: target
</Whole Action>
<Target Action>
</Target Action>
Pages: 1