setUnitPosWeak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(mp args/effs, added example)
m (formatted notes)
Line 40: Line 40:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->


This command is the lowest level of priority for setting unit position and to be used in scripted
<dt class="note">Unknown
FSM's.
<dd class="note">This command is the lowest level of priority for setting unit position and to be used in scripted
 
FSM's.<br>
The current priorities are:
The current priorities are:
* 1. Unit pos commanded (from the commanding menu, higher priority).
* 1. Unit pos commanded (from the commanding menu, higher priority).

Revision as of 18:40, 26 March 2016

-wrong parameter ("Arma") defined!-1.04
Hover & click on the images for description

Description

Description:
Set unit position rules. Mode may be one of:
  • "DOWN" - person goes prone and stays prone.
  • "UP" - person stands and stays standing.
  • "Middle" - Kneel Position. ArmA version 1.04
  • "AUTO" - person chooses mode according to circumstances.
Groups:
Uncategorised

Syntax

Syntax:
unit setUnitPosWeak mode
Parameters:
unit: Object
mode: String - as above
Return Value:
Nothing

Examples

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

Additional Information

See also:
FSMdoFSMsetUnitPosunitPos

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

Notes

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.

Bottom Section