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!
Description
Returns the position on the unit other units can aim at in render scope. See also aimPos, unitAimPosition.
Syntax
unitAimPositionVisual unit
Parameters:
unit: Object
Returns: PositionAGL - position
Examples
Example 1
unitAimPositionVisual player;
See also
unitAimPosition · aimPos · eyePos · getPosASL · weaponDirection