- Joined
- Feb 1, 2009
- Messages
- 107
Is it possible?
Suppose I have custom attributes like Attack Power, Spellpower, Stamina, etc.
Those attributes are managed by using variables of the type "Real" with 8 arrays (1 for each player).
So, I have the variable Stamina[player number of owner of unit].
Can i associate this variable to the unit's total Hit Points and Hit Point Regeneration, in the Object Editor?
If not, is there any practical way of doing this, besides setting a "Set life of unit" trigger for every possible situation when Stamina is gained or lost?
Suppose I have custom attributes like Attack Power, Spellpower, Stamina, etc.
Those attributes are managed by using variables of the type "Real" with 8 arrays (1 for each player).
So, I have the variable Stamina[player number of owner of unit].
Can i associate this variable to the unit's total Hit Points and Hit Point Regeneration, in the Object Editor?
If not, is there any practical way of doing this, besides setting a "Set life of unit" trigger for every possible situation when Stamina is gained or lost?