setUnitPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 37: Line 37:
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>
Command most likely only works if run before [[join]] into group after [[createUnit array]].


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>

Revision as of 19:34, 18 September 2008

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 As above
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

Command most likely only works if run before join into group after createUnit array.

Bottom Section