Description
Returns the incapacitated sub-state of the given unit, when the lifeState of the unit is "INCAPACITATED". Could be one of:
- "UNCONSCIOUS"
- "MOVING"
- "SHOOTING"
Syntax
incapacitatedState person
Parameters:
person: Object
Returns: String - incapacitated sub-state (see description) or empty string ""
Examples
Example 1
_result = incapacitatedState player;