setUnconscious: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(category broken)
(format)
Line 26: Line 26:




|x1= <code>_unit setUnconscious true</code>|= EXAMPLE1  
|x1= <code>_unit [[setUnconscious]] true;</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 21:46, 12 November 2015

Hover & click on the images for description

Description

Description:
Set / reset the unconscious life state of the given unit (in MP works only for a local unit).
Arma 3
In Arma 3 this command is disabled since "UNCONSCIOUS" lifeState doesn't exist in Arma 3
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