unitPos

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Armed Assault version 1.00
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Return the unit position rules.
The return value is always "Auto" unless the unit has gotten a setUnitPos command. In that case the value is the last stance the unit was ordered to.
Available modes are listed at setUnitPos.

Syntax

Syntax:
unitPos unit
Parameters:
unit: Object
Return Value:
String

Examples

Example 1:
hint str unitPos _unit;

Additional Information

Multiplayer:
Unit pos set by setUnitPosWeak is not returned for remote (non-local) units.
See also:
setUnitPossetUnitPosWeakstance

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section