setUnitPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (add. restrictions on "middle")
mNo edit summary
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________


| unit '''setUnitPos''' mode |= Syntax
| [[Object#Unit|Unit]] '''setUnitPos''' "mode" |= Syntax


|p1= unit: [[Object]] |= Parameter 1
|p1= [[Object#Unit|Unit]] : [[Object]] |= Parameter 1


|p2= mode: [[String]] |= Parameter 2
|p2= mode: [[String]] As above|= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>loon1 setUnitPos "UP"</pre> |= Example 1
|x1= <pre>_loon1 setUnitPos "UP"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:53, 31 August 2007

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

Bottom Section