City17
4 years
it is used to define the constants representing unit state. Returns unitstate, first index is 0. Seems to accept any integer, the unitstate reference is always the same for a given integer.
Example:
See: GetUnitState, SetUnitState
Example:
Code (jass) Select
1 constant unitstate UNIT_STATE_MAX_MANA = ConvertUnitState(3)
See: GetUnitState, SetUnitState