Arma 3 Scripting

Command in Positions

aimPos

Also available as Markdown and JSON, or read the 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)