Arma 3 Scripting

Command in Object Manipulation, Render Time Scope

unitAimPositionVisual

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

Description

Returns the position on the unit other units can aim at in render scope. See also aimPos, unitAimPosition.

Syntax

unitAimPositionVisual unit

Parameters:

Returns: PositionAGL - position

Examples

Example 1

unitAimPositionVisual player;

See also

unitAimPosition · aimPos · eyePos · getPosASL · weaponDirection

Community notes

Sa-Matra

This command (along with unitAimPosition and aimPos) is unreliable when entity has objectParent, it can return its last position in the world in case of static weapon packed into backpack, or can return very outdated (lagging behind) position or even [0,0,0] on remote units inside vehicles. Be careful when using it!