setUnconscious: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
Line 16: Line 16:
| unit '''setUnconscious''' set |= Syntax
| unit '''setUnconscious''' set |= Syntax


|p1= unit: [[Object]] -  |= PARAMETER1
|p1= unit: [[Object]] -  |PARAMETER1=  


|p2= set: [[Boolean]] -  |= PARAMETER2
|p2= set: [[Boolean]] -  |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[lifeState]] |= SEEALSO
| [[lifeState]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 11:37, 7 April 2019

Hover & click on the images for description

Description

Description:
Since Arma 3 v1.63.136889, this command sets unit into incapacitated state 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