lifeState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 46: | Line 46: | ||
|r1= [[String]] | |r1= [[String]] | ||
|x1= <code>private _lifeState = | |x1= <code>private _lifeState = lifeState [[player]];</code> | ||
|seealso= [[setUnconscious]] [[incapacitatedState]] | |seealso= [[setUnconscious]] [[incapacitatedState]] | ||
}} | }} |
Revision as of 11:12, 12 May 2022
Description
- Description:
- Returns the life state of the given unit.
Arma 2 Arma 3 - "ALIVE"
- "DEAD"
- "DEAD-RESPAWN"
- "DEAD-SWITCHING"
- "ASLEEP"
- "UNCONSCIOUS"
- "HEALTHY"
- "DEAD"
- "DEAD-RESPAWN"
- "DEAD-SWITCHING"
- "INCAPACITATED"
- "INJURED"
- Groups:
- Object Manipulation
Syntax
Examples
- Example 1:
private _lifeState = lifeState player;
Additional Information
- See also:
- setUnconscious incapacitatedState
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note