Description
Set unit position rules. This command will not change the stance of the human player, even though it will change the output of unitPos command. To change player stance use playAction or playActionNow:
player playAction "PlayerProne"; // DOWN
player playAction "PlayerStand"; // UP
player playAction "PlayerCrouch"; // MIDDLE
Syntax
unit setUnitPos mode
Parameters:
unit: Objectmode: String - can be:- "DOWN" - Unit goes prone and stays prone.
- "UP" - Unit stands and stays standing.
- "MIDDLE" - Kneel Position. Armed Assault v1.04 - Unit will not kneel if it is unarmed
- "AUTO" - Unit chooses mode according to circumstances.
Returns: Nothing
Examples
Example 1
_soldier setUnitPos "UP";