I want Reducing HP to 0 to do something other than cause Death

I'm trying to come up with a system where the battle doesn't necessarily end when one side's HP reaches zero, instead I want it to give them a State that renders them vulnerable for a time then wears off, but I'm not sure how to go about doing anything like that. I thought about maybe approaching it from the State section, but messing with that first state doesn't really change the nature of it ending the battle. Even if I can find a way to keep them at 1 HP until a certain condition is fulfilled, that'd be good too.
You can give actors a state with "State Resist: Death", and use Troop Eventing to remove that state (the one that resists Death) when appropriate.



Scripts/Coding will make this more efficient, depending on what exactly you are trying to do, but the resist state should at least work.
That's a start, thanks!

Original thread: https://forums.rpgmakerweb.com/threads/i-want-reducing-hp-to-0-to-do-something-other-than-cause-death.67854/