setUnitPosWeak: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (new command, will require an example eventually.)
 
mNo edit summary
Line 37: Line 37:


This command is the lowest level of priority for setting unit position and to be used in scripted
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 The current priorities are:
FSM's. This command will have no affect in regular scripts.


1. Unit pos commanded (from the commanding menu, higher priority).
The current priorities are:
2. Unit pos scripted (from [[setUnitPos]] scripting command, medium priority).
* 1. Unit pos commanded (from the commanding menu, higher priority).
3. Unit pos FSM / '''setUnitPosWeak''' (used in the formation FSM, lowest priority).
* 2. Unit pos scripted (from [[setUnitPos]] scripting command, medium priority).
* 3. Unit pos FSM / '''setUnitPosWeak''' (used in the formation FSM, lowest priority).


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 19:59, 21 January 2007

-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
Return Value:
Nothing

Examples

Examples:
Example needed

Additional Information

See also:
FSMdoFSMsetUnitPos

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. This command will have no affect in regular scripts. 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).

Bottom Section