setUnitPosWeak: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(mp args/effs, added example) |
||
Line 5: | Line 5: | ||
|1.04|= Game version | |1.04|= Game version | ||
|eff= global|= Effects in MP | |||
|arg= local|= Arguments in MP | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 16: | Line 19: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | unit '''setUnitPosWeak''' mode |= Syntax | ||
|p1= | |p1= unit: [[Object]] |= Parameter 1 | ||
|p2= mode: [[String]] | |p2= mode: [[String]] - as above |= Parameter 2 | ||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= |= Example 1 | |x1= <code>_soldier [[disableAI]] "FSM"; | ||
_soldier [[setUnitPosWeak]] "DOWN";</code>|= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 10:37, 19 September 2014
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
-
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.