Arma 3 Scripting

setUnitPosWeak

  • Local argument
  • Global effect
  • Arma 3 v0.50
  • First in Armed Assault v1.04

Command · Markdown · JSON · 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