Call common event upon death

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?
Tsukihime made a script that added more battle event triggers to the game, allowing you to trigger events at new situations in battle.

Unfortunately I don't know if that included an trigger for "onDeath", but you can check that for yourself on her blog:

http://himeworks.wordpress.com/2013/03/14/troop-event-spans/

http://himeworks.wordpress.com/2013/03/06/end-phase-triggers/

http://himeworks.wordpress.com/2013/05/12/post-battle-events/

I think there is one more script from Tsukihime for battle events, but unfortunately I don't see it at the moment, please look through the blog and this forum yourself, sorry.

Original thread: https://forums.rpgmakerweb.com/threads/call-common-event-upon-death.17518/