incapacitatedState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the incapacitated state of the given unit. |= Description
| Returns the incapacitated state of the given unit. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''incapacitatedState''' person |= Syntax
| '''incapacitatedState''' person |SYNTAX=


|p1= person: [[Object]] |= Parameter 1
|p1= person: [[Object]] |PARAMETER1=


| [[String]] |RETURNVALUE=  
| [[String]] |RETURNVALUE=  

Revision as of 14:41, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns the incapacitated state of the given unit.
Groups:
Uncategorised

Syntax

Syntax:
incapacitatedState person
Parameters:
person: Object
Return Value:
String

Examples

Example 1:
_result = incapacitatedState player;

Additional Information

See also:
See also needed

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

Posted on July 18, 2018 - 02:53 (UTC)
HazJ
This command returns "SHOOTING" (intentional behaviour?) when checking a unit's state while they are unconscious. Tested with BIS revive. I recommend just using the lifeState command instead.