setUnitPosWeak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ")
Line 33: Line 33:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


<dt class="note">Unknown
<dt class="note">Unknown</dt>
<dd class="note">This command is the lowest level of priority for setting unit position and to be used in scripted
<dd class="note">This command is the lowest level of priority for setting unit position and to be used in scripted
FSM's.<br>
FSM's.<br>

Revision as of 01:26, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
mode: String - as above
Return Value:
Return value needed

Examples

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

Additional Information

See also:
See also needed

Notes

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
Unknown
This command is the lowest level of priority for setting unit position and to be used in scripted FSM's.
The current 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).

Command most likely only works if run before join into group after createUnit array.