setUnitPos (VBS1)

From Bohemia Interactive Community
Jump to: navigation, search
Introduced in Virtual Battlespace 1 version 2.12.14

Click on the images for descriptions

Introduced in

Game:
Virtual Battlespace 1
Version:
2.12.14

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

Multiplayer:
-

Notes

Notes


Only post proven facts here. Use the talk page or the forums for discussions.

Notes

Bottom Section