Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:2.00

Description

Description:Returns the life state for a unit.

Can be:

  • "ALIVE" - Normal mode, may be injured (same as alive).
  • "UNCONSCIOUS" - Non-responsive (as set by setUnconscious).
  • "DEAD" - Dead (same as !alive).

Syntax

Syntax:lifeState object
Parameters:
  • object: Unit - Unit to test.
Return Value:String

Examples

Examples:
_ls = lifeState unit1

Additional Information

See also: alive, setUnconscious
Multiplayer: 
Problems: 

Notes