From Bohemia Interactive Community
Revision as of 11:24, 13 May 2022 by Lou Montana (talk | contribs) (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Hover & click on the images for 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).
Unit Control


unit setUnitPosWeak mode
unit: Object
mode: String - Can be:
  • "DOWN" - Unit goes prone and stays prone.
  • "UP" - Unit stands and stays standing.
  • "MIDDLE" - Kneel Position. Logo A1 black.png1.04 - Unit will not kneel if it is unarmed
  • "AUTO" - Unit chooses mode according to circumstances.
Return Value:


Example 1:
_soldier disableAI "FSM"; _soldier setUnitPosWeak "DOWN";

Additional Information

See also:
FSM doFSM setUnitPos unitPos


Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note