lifeState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 9: | Line 8: | ||
|gr1= Object Manipulation |GROUP1= | |gr1= Object Manipulation |GROUP1= | ||
| Returns the life state of the given unit. | | Returns the life state of the given unit. | ||
Line 33: | Line 31: | ||
{{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"}}).}} |DESCRIPTION= | {{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"}}).}} |DESCRIPTION= | ||
| [[lifeState]] unit |SYNTAX= | | [[lifeState]] unit |SYNTAX= | ||
Line 42: | Line 39: | ||
|x1= <code>[[private]] _lifeState = [[lifeState]] [[player]];</code> |EXAMPLE1= | |x1= <code>[[private]] _lifeState = [[lifeState]] [[player]];</code> |EXAMPLE1= | ||
| [[setUnconscious]] |SEEALSO= | | [[setUnconscious]] |SEEALSO= |
Revision as of 01:53, 17 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