Dwarden
Command most likely only works if run before join into group after createUnit.
Results appear below as you type; use the arrow keys to move through them.
Command · Markdown · JSON · original wiki page
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
unit setUnitPos mode
Parameters:
unit: Object
mode: String - can be:
Returns: Nothing
_soldier setUnitPos "UP";
Command most likely only works if run before join into group after createUnit.
The above comment by Dwarden about 'an additional join required' is no longer true for Operation Arrowhead.
A unit might not always go prone when ordered to setUnitPos "DOWN", if the unit doesn't agree with the command. To force the unit to go prone, stop the unit from firing by setCombatMode "BLUE" and then order the unit to prone.