Arma 3 Scripting

setUnconscious

  • Local argument
  • Global effect
  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · original wiki page

Description

In Arma 2 and since Arma 3 v1.64, this command sets unit into incapacitated state.

lifeState results:

Note

Arma 3: The unit goes in ragdoll mode and animation played while incapacitated depends on the injuries received.

Syntax

unit setUnconscious set

Parameters:

Returns: Nothing

Examples

Example 1

_unit setUnconscious true;

See also

lifeState · incapacitatedState