Add state when a character is knocked out

Hi everybody,

as described in the title i want to add a state when a character gets knocked out.

I know that all states get removed when a character gets knocked out. To skip that I'm using Yanflys Buffs & States Core + State Categories.

Is there any way to accomplish that?
One way might be to use Shaz's plugin 'State Add/Remove Commands'. This would allow you to add any valid command in the note box of a state. I use the Ace version to run various things on the Death state if a particular actor is killed, so I know it can do things with that state.

Whether it is compatible with Yanfly's plugin, I have no idea.

As this cannot be done in the editor and maybe can be done directly with Yanfly's plugin
Moderator note: I am moving this to Javascript/Plugin Support.
Thank you Kes, I will try out Shaz's plugin.
So i tried "Shaz's plugin 'State Add/Remove Commands'" and it works just fine. Problem solved.
: )

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/add-state-when-a-character-is-knocked-out.105828/