setUnconscious: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
No edit summary
Line 16: Line 16:
* {{arma3}}: "INCAPACITATED"
* {{arma3}}: "INCAPACITATED"


{{Feature|arma3|Animation played while incapacitated depends on the injuries received.}}
{{Feature|arma3|The unit goes in ragdoll mode and animation played while incapacitated depends on the injuries received.}}


| unit [[setUnconscious]] set
| unit [[setUnconscious]] set
Line 28: Line 28:
|x1= <code>_unit [[setUnconscious]] true;</code>
|x1= <code>_unit [[setUnconscious]] true;</code>


| [[lifeState]]
| [[lifeState]], [[incapacitatedState]]
}}
}}



Revision as of 11:05, 9 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
set: Boolean
Return Value:
Return value needed

Examples

Example 1:
_unit setUnconscious true;

Additional Information

See also:
See also needed

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