MV Help on the "normal" way to use Yanfly's Action Sequence Pack

Hi everyone,

I need help regarding the correct usage of Yanfly's Action Sequence Pack. Recently, I've been using it for some simple functions, like adding a state to a skill's user for example. The issue is, when I simply type <setup action> and a line that adds the state (see below), while it does add my state correctly, my animation starts to be broken. Most notably the battle log display on top gets removed, along other visual bugs.
<setup action>
add state 346: user
</setup action>


So basically, my question is : is there a bunch of lines I should add everytime I use <setup action> on a skill to keep the animations intact ? I've been trying to play around with stuff like "clear battle log", "display action", "wait for animation", all that stuff, but the results are all buggy, so I'm definitely doing it wrong.

Could anyone tell me what I'm supposed to add in my <setup action> alongside my skill-specific lines (like "add state"), so that the animations, battle logs etc... stay identical to what I set up in the database, and so that the <setup action> does NOTHING but adding my state ?

Thanks in advance !
So basically, my question is : is there a bunch of lines I should add everytime I use <setup action> on a skill to keep the animations intact?
yes. the battle engine core gives every skill a default set of action sequences if they dont have and dev-defined ones. using any action sequence tag completely overwrites that sequence

Code:
<setup action>
clear battle log
display action
immortal: targets, true
perform start
wait for movement
cast animation
wait for animation
</setup action>
Exactly what I needed!

Thanks a lot for the help 🙂
yes. the battle engine core gives every skill a default set of action sequences if they dont have and dev-defined ones. using any action sequence tag completely overwrites that sequence

Code:
<setup action>
clear battle log
display action
immortal: targets, true
perform start
wait for movement
cast animation
wait for animation
</setup action>
Are all of these written somewhere for reference? My own searching never turned up anything, and with the only solution I could think of being manually transcribing all of the default action sequences from the demo video, I have been avoiding trying to use them all together.
My own searching never turned up anything, and with the only solution I could think of being manually transcribing all of the default action sequences from the demo video, I have been avoiding trying to use them all together.
if you can read the code for the battle engine core, you can see what gets placed into each skill by default.

1770907798760.png


Past that, you can also check the action sequence code ingame from the console by looking at your $dataSkills entries
1770907714743.png


Are all of these written somewhere for reference?
Code:
<setup action>
clear battle log
display action
immortal: targets, true
perform start
wait for movement
cast animation
wait for animation
</setup action>


<whole action> <- Empty if single target and animation is not set to "screen"
perform action
motion wait: user
action animation
wait for animation
action effect
death break
</whole action>


<target action> <- Empty if AoE or if animation is set to "screen"
perform action
motion wait: user
action animation
wait for animation
action effect
death break
</target action>


<follow action>
</follow action>


<finish action>
immortal: targets, false
wait for new line
clear battle log
perform finish
wait for movement
wait for effect
action common event
</finish action>

Original thread: https://forums.rpgmakerweb.com/threads/help-on-the-normal-way-to-use-yanflys-action-sequence-pack.182368/