setUnconscious: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Undo revision 96138 by Killzone Kid (talk) no available in public dev, still WIP)
(Undo revision 96140 by Killzone Kid (talk) enabled on dev)
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 15:24, 16 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