setUnitPos

From Bohemia Interactive Community
Revision as of 14:06, 17 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

person setUnitPos mode


Operand types:

person: 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"