lifeState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|arg= global | |arg= global | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Returns the life state of the given unit. | | Returns the life state of the given unit. | ||
Line 30: | Line 30: | ||
{{!}}} | {{!}}} | ||
{{Feature|arma3 | In {{arma3}}, [[lifeState]] seems to change to "INJURED" when {{Inline code | [[damage]] aliveUnit >{{=}} 0.1}} (0.1 seeming to be the value defined in config under {{sic|"InjuredTreshold"}}).}} | {{Feature|arma3 | In {{arma3}}, [[lifeState]] seems to change to "INJURED" when {{Inline code | [[damage]] aliveUnit >{{=}} 0.1}} (0.1 seeming to be the value defined in config under {{sic|"InjuredTreshold"}}).}} | ||
| [[lifeState]] unit | | [[lifeState]] unit | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
| [[String]] | | [[String]] | ||
|x1= <code>[[private]] _lifeState = [[lifeState]] [[player]];</code> | |x1= <code>[[private]] _lifeState = [[lifeState]] [[player]];</code> | ||
| [[setUnconscious]] | | [[setUnconscious]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 01:03, 18 January 2021
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
Additional Information
- See also:
- setUnconscious
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