I'm creating a map based on Dark Ages - Vampire, by White Wolf, and I'm having some difficulty with the mechanic of frenzy.
See, when a Vampire has low blood (mana) and willpower (lumber) and continues trying to use skills, he enters Frenzy and the player loses control of the Hero until he kills another unit.
That's all fine to do with global variables. The problem is if 2 or more different units go into frenzy simultaneously. There are 3 different triggers dealing with the frenzy variables, both entering frenzy and exiting frenzy. For example, the original owner of the frenzied unit is stored in a variable. Once the frenzied unit kills and exits frenzy, it has to change ownership back to the original owner, but this is ruled by another trigger. Any ideas how I can contour this problem? Local variables wouldn't work either, right?
See, when a Vampire has low blood (mana) and willpower (lumber) and continues trying to use skills, he enters Frenzy and the player loses control of the Hero until he kills another unit.
That's all fine to do with global variables. The problem is if 2 or more different units go into frenzy simultaneously. There are 3 different triggers dealing with the frenzy variables, both entering frenzy and exiting frenzy. For example, the original owner of the frenzied unit is stored in a variable. Once the frenzied unit kills and exits frenzy, it has to change ownership back to the original owner, but this is ruled by another trigger. Any ideas how I can contour this problem? Local variables wouldn't work either, right?