lifeState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(seealso)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|arg= global |= Arguments in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 30: Line 32:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[setUnconscious]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 20:20, 19 November 2009

Hover & click on the images for description

Description

Description:
Returns the life state of the given unit. Can be one of:
  • "ALIVE"
  • "UNCONSCIOUS"
  • "DEAD"
Groups:
Uncategorised

Syntax

Syntax:
lifeState unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
_ls = lifeState loon;

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

Notes

Bottom Section