Warning: file_put_contents(/ff_86322220437cb19a07a9459152e16ee7d28508d7efe6d7f0.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setUnitPosWeak - OFPEC Scripting Command Reference | OFPEC The Editing Center

unit setUnitPosWeak mode

Operand types

unit: Object
mode: String

Type of returned value


Set unit position rules.

Mode may be one of:
"DOWN" - Unit goes prone and stays prone.
"UP" - Unit stands and stays standing.
"MIDDLE" - Unit goes into crouch Position.
"AUTO"- Unit chooses mode according to circumstances.

This command is the lowest level of priority for setting unit position and to be used in scripted FSM's.
This command will have no affect in regular scripts.

The current priorities are:
1. Unit pos command from the in-game command menu, highest priority.
2. Unit pos scripted with setUnitPos scripting command, medium priority.
3. Unit pos using setUnitPosWeak, used in a formation FSM, lowest priority.

Used In



There are no examples for this command