I have a character with a transform ability that calls a common event when used. After that actor runs out of TP, it calls a common event "revert." There's also a parallel process that simply runs through the entire game that calls revert, then erases itself, so it will remove transform after battle if it was still up.
However, I'd also like revert to be called if the character is killed. I tried adding a common event "ActorDead" that the revive skills and items would call that would simply do a conditional check if that particular actor was inflicted with death, but it appears that no matter how I order the effects, death will always be removed and HP will always be recovered before any common events are called.
As a "just to make it work" solution for now, I've added a page to each troop this actor could possibly be in combat with that has the condition "Actor's HP is 0%" and the span "turn" that simply calls the revert common event.
Is there a better way without using scripts to do this?
However, I'd also like revert to be called if the character is killed. I tried adding a common event "ActorDead" that the revive skills and items would call that would simply do a conditional check if that particular actor was inflicted with death, but it appears that no matter how I order the effects, death will always be removed and HP will always be recovered before any common events are called.
As a "just to make it work" solution for now, I've added a page to each troop this actor could possibly be in combat with that has the condition "Actor's HP is 0%" and the span "turn" that simply calls the revert common event.
Is there a better way without using scripts to do this?