Yanfly action sequence help

Status
Not open for further replies.

PhxFire

The Eternal Flame
Veteran
Joined
Jul 1, 2019
Messages
131
Reaction score
69
First Language
English
Primarily Uses
RMMV
I'm trying to just do a basic attack where the character/ enemy goes up to the target, attacks and shows the attack animation, then goes back to their starting position... I've searched for the right code and I've found these two but neither seems to be working

Code:
<setup action>
MOTION STANDBY: target
</setup action>
<whole action>
MOTION STANDBY: target
</whole action>
<finish action>
Perform finish
</finish action>

and

Code:
<setup action>
clear battle log
display action
immortal: targets, true
</setup action>

<whole action>
move user: targets, front, 20
motion standby: user
wait for movement
face user: target
</whole action>

<target action>
motion attack: user
wait: 10
attack animation: target
wait for animation
action effect
</target action>

The first code works correctly for skill 1 but not for the rest, what am I doing wrong?

Thanks!
 

JGreene

Veteran
Veteran
Joined
Oct 24, 2015
Messages
395
Reaction score
297
First Language
English
Primarily Uses
RMMV
Using whole action and target action is redundant and can cause issues sometimes. See if this sequence works for you.

<setup action>
clear battle log
display action
immortal: targets, true
</setup action>

<target action>
move user: target, front, 20
motion standby: user
wait for movement
face user: target
motion attack: user
wait: 10
action animation: target
wait for animation
action effect
</target action>

<finish action>
wait for effect
perform finish
</finish action>
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,575
Latest member
akekaphol101
Top