Arma 3 Scripting

Command in Unit Control

setUnitPosWeak

Also available as Markdown and JSON, or read the original wiki page.

Description

Set unit position rules. This command is the lowest level of priority for setting unit position and to be used in scripted FSM's. Priorities are:

  1. Unit pos commanded (from the commanding menu, higher priority).
  2. Unit pos scripted (from setUnitPos scripting command, medium priority).
  3. Unit pos FSM / setUnitPosWeak (used in the formation FSM, lowest priority).

Syntax

unit setUnitPosWeak mode

Parameters:

Returns: Nothing

Examples

Example 1

_soldier disableAI "FSM";
_soldier setUnitPosWeak "DOWN";

See also

FSM · doFSM · setUnitPos · unitPos