aimPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <!-- (DIS)?CONTINUE Notes -->" to "")
m (Text replacement - "\|game([0-9]) ?= (.+) \|version([0-9]) ?= (.+) " to "|game$1= $2 |version$3= $4 ")
Line 2: Line 2:


|game1= arma2oa
|game1= arma2oa
|version1= 1.62
|version1= 1.62


|game2= tkoh
|game2= tkoh
|version2= 1.00
|version2= 1.00


|game3= arma3
|game3= arma3
|version3= 0.50
|version3= 0.50



Revision as of 15:54, 3 May 2021

Hover & click on the images for description

Description

Description:
Returns the position of the object other units can aim to.
Groups:
Positions

Syntax

Syntax:
aimPos unit
Parameters:
unit: Object
Return Value:
Array - Format PositionASL

Examples

Example 1:
_aimPos = aimPos player;

Additional Information

See also:
eyePosgetPosASLweaponDirectionunitAimPositionunitAimPositionVisual

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on July 7, 2015 - 21:19 (UTC)
Waffle SS.
Generally returns the center position of the object (middle of the geometry, not the model's [0,0,0]).