How do I make a specific actor go to a different state when they hit 0 HP?

I want to have one of my actors automatically self-revive upon reaching 0HP.

I figured the best way of accomplishing this would be to essentially have him go into a different state upon death. This way the battle wouldn't end, and it'd mean I wouldn't have to make changes to the knockout state itself.

So...how would I go about making it so that, when he hits 0HP, he gets a different state than Knockout?

-----------------------

Bonus Question: I want the new state to prevent the user from doing ANYTHING except using a single skill. How would I go about doing that?
You'll need a plugin to change the autodeath-state.


Once you have that, you can use the traits in that state to seal all skills but the ones you want him to be able to use in that state.


I've moved this thread to Plugin Request. Please be sure to post your threads in the correct forum next time. Thank you.
Thanks, but there's still one thing I'm unsure on.

I'm trying to make it so that, in that state, there is literally only one option for the player to take. Even if I seal everything else, I still can't prevent the use of items.

Will I need another plugin to do this, or is it possible in the engine as it is?
so from what i understand you want to give the player the choice (only choice) on their turn to revive themselves?
Search for Auto State Triggers in the plugin forum. Have you tried that yet?

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-a-specific-actor-go-to-a-different-state-when-they-hit-0-hp.50525/