setUnitPosWeak
Jump to navigation
Jump to search
Hover & click on the images for descriptions
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.
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
- Groups:
- Unit Control
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.
Categories:
- Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- ArmA: Armed Assault: New Scripting Commands
- Command Group: Unit Control
- Introduced with Armed Assault version 1.04
- Commands utilizing local arguments
- Commands with global effects
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands