Arma 3 Scripting

eyePos

  • Global argument
  • Arma 3 v0.50
  • First in Arma 2: Operation Arrowhead v1.62

Command · Markdown · JSON · original wiki page

Description

Returns the object's eyes / main turret position.

Syntax

eyePos object

Parameters:

Returns: PositionASL

Examples

Example 1

_eyesPos = eyePos player;

See also

eyeDirection · getPosASL · setPosASL · setPosASL2 · getCameraViewDirection · positionCameraToWorld