setUnitPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:




<h2 style="color:#000066">'''''person'' setUnitPos ''mode'''''</h2>
<h2 style="color:#000066">'''''unit'' setUnitPos ''mode'''''</h2>




'''Operand types:'''
'''Operand types:'''


'''person:''' [[Object]]
'''unit:''' [[Object]]


'''mode:''' [[String]]
'''mode:''' [[String]]

Revision as of 21:29, 4 July 2006


unit setUnitPos mode


Operand types:

unit: Object

mode: String

Type of returned value:

Nothing

Description:

Set unit position rules.

Mode may be one of:

  • "DOWN" - person goes prone and stays prone.
  • "UP" - person stands and stays standing.
  • "AUTO" - person chooses mode according to circumstances.


Example:

loon1 setUnitPos "UP"