JASS Tools
News
Download
Help
JASS Manual
-------------------------------------------------------------

TYPES | FUNCTIONS | VARIABLES

Type unitstate

Global Variables | Functions That Return | Functions That Take

Ancestor Types:handle > unitstate
Children Types:none
Location:common.j, line 38

BACK TO TOP

------------------------------------------------------------

Global variables of type unitstate:

common.j:
UNIT_STATE_LIFE, UNIT_STATE_MANA, UNIT_STATE_MAX_LIFE, UNIT_STATE_MAX_MANA

BACK TO TOP

------------------------------------------------------------

Functions that return type unitstate (     common.j,      common.ai,      Blizzard.j):

constant native ConvertUnitState (integer i) returns unitstate
constant native GetEventUnitState () returns unitstate

BACK TO TOP

------------------------------------------------------------

Functions that take type unitstate as a parameter (     common.j,      common.ai,      Blizzard.j):

constant native GetUnitState (unit whichUnit, unitstate whichUnitState) returns real
function GetUnitStatePercent (unit whichUnit, unitstate whichState, unitstate whichMaxState) returns real
function GetUnitStatePercent (unit whichUnit, unitstate whichState, unitstate whichMaxState) returns real
function GetUnitStateSwap (unitstate whichState, unit whichUnit) returns real
native SetUnitState (unit whichUnit, unitstate whichUnitState, real newVal) returns nothing
native TriggerRegisterUnitStateEvent (trigger whichTrigger, unit whichUnit, unitstate whichState, limitop opcode, real limitval) returns event

BACK TO TOP

------------------------------------------------------------
Copyright (c) 2003 Jeff Pang
Not affiliated or endorsed by Blizzard Entertainment
SourceForge.net Logo