Arma 3 Scripting

unitAimPositionVisual

  • Global argument
  • Arma 3 v1.64

Command · also in Render Time Scope · Markdown · JSON · 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!