characters that can transform into alternate forms, getting a transformation have this transformed state to constantly burn mana so that if the characters hit 0 Mana a string of events happen; they die, a scene would play and they would be removed from the game/party, The majority of those can be created with events, so a script would probly be pointless.
Click me This is a link to the tutorial section, I would take a look over there to get more intuned with eventing.