Change actor's image during battle?

Not sure if this belongs here, but I'm having trouble to figure out how to change an actor's image during battle when in a certain state when an enemy put a debuff on you.
For example, if the actor is in a sleeping state that was induced by an enemy, I want to make them look like they're sleeping by swapping the actor image only during this state.(switches back to original once they wake up)

This is a little different, but I used this tutorial- it worked, but this is changing the actor's image from the actor's skill, not done my an enemy.

(not sure if I can post youtube links here, if not, I will edit it out)
Not sure if this belongs here, but I'm having trouble to figure out how to change an actor's image during battle when in a certain state when an enemy put a debuff on you.
For example, if the actor is in a sleeping state that was induced by an enemy, I want to make them look like they're sleeping by swapping the actor image only during this state.(switches back to original once they wake up)
Do you know this is built into MZ? It's in your state settings:

1720658853911.png


The SV battler spritesheet has three motions built into it to indicate negative status effects. (and there are also the State Overlay settings for additional graphical indications)

Is there a reason you need to actually change the entire spritesheet rather than this?
I am using a frontview battler.
Maybe Omori is a good example, when the characters are in a different state, their expression changes. I want to mimic something like that in MZ, like this:

1720659322962.png


(image credit: reddit)
Oh. That's pretty different from your first post, where you talked about changing the actor image (as opposed to face) and linked a video which changed the battler.

I would recommend @Eliaquim's Faces Reaction plugin for this:

You just set it up in the plugin and it works.

Your next best bet would be using my Eval Tags or VisuStella's Skills and States Core to execute code when a state is applied and when it wears off.

But those options require you to know/look up/ask for help with the JavaScript to do it, whereas the first plugin will just go.
Omori reference?
Oh. That's pretty different from your first post, where you talked about changing the actor image (as opposed to face) and linked a video which changed the battler.

I would recommend @Eliaquim's Faces Reaction plugin for this:

You just set it up in the plugin and it works.

Your next best bet would be using my Eval Tags or VisuStella's Skills and States Core to execute code when a state is applied and when it wears off.

But those options require you to know/look up/ask for help with the JavaScript to do it, whereas the first plugin will just go.
I sadly don't know how to call scripts yet, so I might go for the Faces Reaction plugin, but I will look into the other plugins mentioned, thanks for the help!
Omori reference?

It's actually a reference to Father Stephen O'Mori of County Claire, Ireland. Notorious RPG maker dev and activist to try and get fewer allegories for the Catholic Church as the primary antagonist in JRPGs.

Original thread: https://forums.rpgmakerweb.com/threads/change-actors-image-during-battle.170192/