setUnconscious: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(format)
(command works now)
Line 11: Line 11:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set / reset the unconscious life state of the given unit (in MP works only for a local unit).
| Since Arma 3 v1.61, this command turns unit incapacitated and [[lifeState]] command returns "INCAPACITATED". Animation played while incapacitated depends on the injuries received.|= Description
{{Feature arma3|In Arma 3 this command '''is disabled''' since "UNCONSCIOUS" [[lifeState]] doesn't exist in Arma 3}}|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 21:31, 10 June 2016

Hover & click on the images for description

Description

Description:
Since Arma 3 v1.61, this command turns unit incapacitated and lifeState command returns "INCAPACITATED". Animation played while incapacitated depends on the injuries received.
Groups:
Uncategorised

Syntax

Syntax:
unit setUnconscious set
Parameters:
unit: Object -
set: Boolean -
Return Value:
Nothing

Examples

Example 1:
_unit setUnconscious true;

Additional Information

See also:
lifeState

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