How can I make a skill call a common event before perfoming the skill itself?

What I'm trying to do here is basically make a cut-in animation, my test basically works well, the problem is that the cut-in itself appears after the skill.


(Ignore the pic, it's just a dummy for the test)


Is there a way so I can make the image flash before the skill???
You'd have to use a plugin like Yanfly's Skill Core. There are notetags for the different phases of the skill, so you'd use one before the damage happens and insert the script call for a common event.

You might also be interested by looking into Irina's Action Cutin plugin that can automate some of that for you.
There's a Moghunter plugin called Ougi that does that

You'd have to use a plugin like Yanfly's Skill Core. There are notetags for the different phases of the skill, so you'd use one before the damage happens and insert the script call for a common event.

You might also be interested by looking into Irina's Action Cutin plugin that can automate some of that for you.
I tried the skill core but it still shows it after the skill is done


Screenshot_1176.png


I'm not sure if I added the notetag incorrectly or something, but it doesn't seem to be working :\

and I can't really afford to buy Irina's Action Cutin
I tried the skill core but it still shows it after the skill is done


View attachment 296197

I'm not sure if I added the notetag incorrectly or something, but it doesn't seem to be working :\

and I can't really afford to buy Irina's Action Cutin
Moghunter's plugin is free, and you shouldn't have a space after $gameTemp
Moghunter's plugin is free, and you shouldn't have a space after $gameTemp
The instructions are in portuguese so I don't really know that to do and also from a video in that thread the animation doesn't seem to be what I'm looking for, thanks anyway
As Aqua said, your syntax is incorrect, so that notetag isn't doing anything.

(incidentally, you would not be calling something from code in a notetag and still have it attached to the skill in Effects)

As yet another option, you can program your skill using Yanfly's Action Sequences and insert common events wherever...but I think the Skill Core will work if you type it correctly.
Screenshot_1177.png


Here's what the skill itself looks like.

And for some reason the command for the common event still worked with that syntax error, idk why or how ¯\_(ツ)_/¯
If I recall correctly (might be wrong, it has been a while), then even reserving a common event only tells the engine to execute this common event "at the next opportunity". So even if you use a notetag to reserve the event pre-damage, the engine will execute the event only after damage.
If you want a common event mid-skill you will need to use for example yanfly action sequence.
Or simply duplicate the effects of the common event using script calls.

If you're using the Show Picture and Move Picture event commands, you can go to the pinned thread of MV script calls and insert the appropriate code into the Pre-Damage notetag.
If I recall correctly (might be wrong, it has been a while), then even reserving a common event only tells the engine to execute this common event "at the next opportunity". So even if you use a notetag to reserve the event pre-damage, the engine will execute the event only after damage.
If you want a common event mid-skill you will need to use for example yanfly action sequence.
Yeah, I read some stuff like that. I tried to use action sequence but I didn't really figure it out, but I'll try again to learn it
Or simply duplicate the effects of the common event using script calls.

If you're using the Show Picture and Move Picture event commands, you can go to the pinned thread of MV script calls and insert the appropriate code into the Pre-Damage notetag.
And if action sequence doesn't work I'll try this method, and if nothing works I'll use a quick work around, which is to have a skill that has the common event and after the animation it forces the player to perform the actual skill
And if action sequence doesn't work I'll try this method
That's perfectly cool - I just suggested that because, depending on what your common event does, looking up 2-3 script calls is probably easier than learning the syntax to recreate the entire skill in Action Sequences.
That's perfectly cool - I just suggested that because, depending on what your common event does, looking up 2-3 script calls is probably easier than learning the syntax to recreate the entire skill in Action Sequences.
Alright, the script calls are working perfectly, now I just have to configure them until it looks right

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-a-skill-call-a-common-event-before-perfoming-the-skill-itself.166065/