Can a State trigger a Skill?

Hello!
I'm trying to make a State trigger a Skill rather than a Effect. I'm interested mostly in showing the Animation of the Skill.
For example, being marked by enemies, and arrows showering every X turns at the marked hero.

Is it posible to do it somehow?

Thanks
its possible with YEP_BattleCore, BuffStateCore and lunatic code,
not sure if actionSEQ is required to pull this off.

if you have those, read the helpfile or the tips and tricks he made.

there are some lunatic expert if you are stuck, but definitely possible.
An Animation is not the same thing as a Skill.

A Skill involves one battler interacting with another, and what you're describing doesn't involve any of that.

If you get Yanfly's Buffs & States Core, you can give your state the notetag:
Code:
<Custom Regenerate Effect>
user.startAnimation(69);
user.gainHp(-10);
user.startDamagePopup();
if (user.hp<=0)
    user.performCollapse();
</Custom Regenerate Effect>

That will go off at the end of each of the battler's turns. It will play animation ID 69 and deal 10 damage.
Sorry for the late reply! I just wanted to say it worked perfectly. Thank you so much for the help!

Original thread: https://forums.rpgmakerweb.com/threads/can-a-state-trigger-a-skill.164689/