Need help with action sequences

I need some help with Yanfly action sequences. I set up a common event that triggers during battle when a specific skill is used. All it does is show and image, waits a little and then changes the image back to the regular standing img I'm using. When researching how to trigger this common event at the same time as the damage animation (I couldn't figure this part out) or the very least before the animation. That when I came across the action sequences plugin that could do just that. Problem is, that for some reason the common event triggers twice. Once before the skill actually goes out and once after. I tried to figure it out why, my best guess is that it plays the common event through the plugin first and then it plays it the second time from the skill effect list. From my understanding the common event needs to be in the effect list in order for the plugin to use it, so I'm a bit lost.
Question is, does anyone know how to fix it, so the common event only plays once?
1721030996992.png
You don't need the Common event in the skill effects for it to work.
Just need

"common event: x" X being the number of the common event you want to use.
and I think it's

"action effect: target" for the damage numbers to appear.
You don't need the Common event in the skill effects for it to work.
Just need

"common event: x" X being the number of the common event you want to use.
and I think it's

"action effect: target" for the damage numbers to appear.
Yes, that works, thank you. Instructions on the plugin's description are a bit misleading because it states it has to be there.
Ah I've just had a quick look and there is 2 ways to do the common event. For the one based on the traits, then yes it has to be there, but the one I showed you was a different way of doing it.
You don't need the Common event in the skill effects for it to work.
Just need

"common event: x" X being the number of the common event you want to use.
and I think it's

"action effect: target" for the damage numbers to appear.
One more question. action effect: target works well in a way that it does the damage at the same time the common event runs. The issue I'm now facing that it also makes the damage double, as the attack will play out normal. Is there some trick to it, so the attack itself doesn't go off?
Is there some trick to it, so the attack itself doesn't go off?
it depends on where you put it. <target action> automatically has an "action effect" in it and <setup action> doesnt. so if you added one to <setup action>, the attack would deal damage from each of those
Yes, that works, thank you. Instructions on the plugin's description are a bit misleading because it states it has to be there.
The instructions have two different commands with different uses:

1721047261996.png


(which actually has a bit of a typo, skills have no Traits list, it's the Effects list)

and

1721047301902.png


The thing that is not explicitly stated in the instructions is that any section you do not define in an action sequence will be replaced by a default.

I'd bet your action sequence that had the common event happening twice did not have a <finish action> - so the default was being executed, and that's where the effects list is run.

One more question. action effect: target works well in a way that it does the damage at the same time the common event runs. The issue I'm now facing that it also makes the damage double, as the attack will play out normal. Is there some trick to it, so the attack itself doesn't go off?
This sounds like a similar issue. As @Robro33 says, it sounds like you're manually doing action effect in an unexpected section, then not stopping it from happening in the normal place.

For full control, you must program the entire action sequence. To ensure nothing happens if you don't want it to, include an empty section - e.g.
<target action>
</target action>

The exception is follow action, which has no default contents.
Okay, that makes sense now. I didn't understand that I need the empty sections as well. But I guess basically these tags overwrite parts of the action that is done by the engine. If I don't include it, will automatically does the following sequence based on what it can find.
Thanks for the help.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-action-sequences.170317/