setUnitPos

From Bohemia Interactive Community
Revision as of 07:54, 9 April 2007 by Kronzky (talk | contribs) (add. restrictions on "middle")
Jump to navigation Jump to search
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 (Unit will not kneel if it is unarmed)
  • "AUTO" - person chooses mode according to circumstances.
Groups:
Uncategorised

Syntax

Syntax:
unit setUnitPos mode
Parameters:
unit: Object
mode: String
Return Value:
Nothing

Examples

Example 1:
loon1 setUnitPos "UP"

Additional Information

See also:
setUnitPosWeak

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

Bottom Section