setUnconscious: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2 |Game name=
| arma2 |Game name=
Line 11: Line 10:


|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation |GROUP1=
____________________________________________________________________________________________


| In {{arma2}} and since {{arma3}} v1.63.136889, this command sets unit into incapacitated state.<br>
| In {{arma2}} and since {{arma3}} v1.63.136889, this command sets unit into incapacitated state.<br>
Line 19: Line 17:


{{Feature|arma3|Animation played while incapacitated depends on the injuries received.}} |DESCRIPTION=
{{Feature|arma3|Animation played while incapacitated depends on the injuries received.}} |DESCRIPTION=
____________________________________________________________________________________________


| unit [[setUnconscious]] set |SYNTAX=
| unit [[setUnconscious]] set |SYNTAX=
Line 30: Line 27:


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


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

Revision as of 04:57, 17 January 2021

Hover & click on the images for description

Description

Description:
In Arma 2 and since Arma 3 v1.63.136889, this command sets unit into incapacitated state.
lifeState results:
  • Arma 2: "UNCONSCIOUS"
  • Arma 3: "INCAPACITATED"
Arma 3
Animation played while incapacitated depends on the injuries received.
Groups:
Object Manipulation

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