Arma 3 Scripting

aimPos

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

Command · Markdown · JSON · original wiki page

Description

Returns the position of the object other units can aim to.

Syntax

aimPos unit

Parameters:

Returns: PositionASL

Examples

Example 1

_aimPos = aimPos player;

Example 2

aimPosVisual equivalent:

private _aimPosVisual = AGLToASL unitAimPositionVisual player;

See also

eyePos · getPosASL · weaponDirection · unitAimPosition · unitAimPositionVisual

Community notes

Waffle SS.

Generally returns the center position of the object (middle of the geometry, not the model's [0,0,0]).

Sa-Matra

This command uses "zamerny" memory point which is hardcoded name in the engine. If memory point is not present then geometry LOD bounding center is used (according to dedmen)