Pure
Returns unitstate, first index is 0.
It is used to define the constants representing unit state. Accepts any integer, the unitstate reference is always the same for a given integer.
Example: constant unitstate UNIT_STATE_MAX_MANA = ConvertUnitState(3)
constant unitstate UNIT_STATE_MAX_MANA = ConvertUnitState(3)
The integer representation of the unitstate.
See: GetUnitState, SetUnitState.
GetUnitState
SetUnitState
Generated using TypeDoc
Returns unitstate, first index is 0.
It is used to define the constants representing unit state. Accepts any integer, the unitstate reference is always the same for a given integer.
Example:
constant unitstate UNIT_STATE_MAX_MANA = ConvertUnitState(3)