Arma 3 Scripting

Command in Object Manipulation, Positions

unitAimPosition

Also available as Markdown and JSON, or read the original wiki page.

Description

Returns the position on the unit other units can aim at. Same as aimPos only returns position in PositionAGL format and has render scope alternative unitAimPositionVisual.

Syntax

unitAimPosition unit

Parameters:

Returns: PositionAGL

Examples

Example 1

private _aimPosAGL = unitAimPosition player;

See also

unitAimPositionVisual · aimPos · eyePos · getPosASL · weaponDirection

Community notes

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)