setUnitPos

From Bohemia Interactive Community

Jump to: navigation, search
Editors, please check Policy: Scripting Command Page Syntax.
Introduced in Operation Flashpoint version 1.00

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

Description

Description:
Set unit position rules. Mode may be one of:

  • "DOWN" - unit goes prone and stays prone.
  • "UP" - unit stands and stays standing.
  • "Middle" - Kneel Position. ArmA version 1.04 (Unit will not kneel if it is unarmed)
  • "AUTO" - unit chooses mode according to circumstances.

Syntax

Syntax:
Unit setUnitPos "mode"
Parameters:
Unit : Object
mode: String As above
Return Value:
Nothing

Examples

Example 1:
_loon1 setUnitPos "UP"

Additional Information

Multiplayer:
Behaviour unknown.
See also:
setUnitPosWeak

Notes

Notes

+ Add Note

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

Notes

Command most likely only works if run before join into group after createUnit array.

Bottom Section

Personal tools
Buy ArmA now!