Immortal player character

Hello! Bit of a weird request, but I'm looking for a script for RMMV to make the player character immortal.

When their health runs out, I'd like them to transform into a different form but their health to replenish. Then, when that health runs out, they'd return to their original form with replenished health. So they'd be stuck in a cycle of changing forms, each with replenished health, and never dying.

I'd like to make a game where the purpose is to keep your companions alive, as you can't die yourself 🙂

I hope I explained it okay! If anyone could point me in the right direction, I'd be super grateful 😀
I don't think you need a plugin for this. There is already a default state called "Immortal". If you add that to your main actor at the beginning of the game, you can add an event page to all of your troops with the condition of the actor's HP <= 0, and use that to call a common event that will transform the actor into another form.

If you need to have it check the actor's HP from the map (for example, if you have enabled "Knockout by Slip Damage" and/or "Knockout by Floor Damage" in your system settings) then you can add a common event with parallel trigger that alternates checking the character's hp (if <= 0, call the transformation event) and waiting a number of frames (this part keeps it from lagging the game).
I don't think you need a plugin for this. There is already a default state called "Immortal". If you add that to your main actor at the beginning of the game, you can add an event page to all of your troops with the condition of the actor's HP <= 0, and use that to call a common event that will transform the actor into another form.

If you need to have it check the actor's HP from the map (for example, if you have enabled "Knockout by Slip Damage" and/or "Knockout by Floor Damage" in your system settings) then you can add a common event with parallel trigger that alternates checking the character's hp (if <= 0, call the transformation event) and waiting a number of frames (this part keeps it from lagging the game).

Oh! Thank you so much!
@knitbone I'm pretty sure if you add the parallel common event, you don't need to add the event page to the troops. (If you do, it may trigger the transformation twice.)

Original thread: https://forums.rpgmakerweb.com/threads/immortal-player-character.86565/