setUnitPos (VBS1)

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Virtual Battlespace 1 version 2.12.142.12
Hover & click on the images for descriptions

Description

Description:
Set unit position rules. Mode may be one of:
  • "AUTO" - person chooses mode according to circumstances.
  • "UP" - person stands and stays standing.
  • "DOWN" - person goes prone and stays prone.
  • "KNEEL" - will force person to maintain a kneeling position regardless.
  • "KNEELDOWN" - allows person to choose between lying or kneeling positions (most realistic unit position).
The last two modes are availible only if combat mode is greater than "SAFE"

Syntax

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

Examples

Example 1:
loon1 setUnitPos "KNEEL"

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section