unitAimPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Update)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| 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]].  |= 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]].  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''unitAimPosition''' unit |= Syntax
| '''unitAimPosition''' unit |SYNTAX=


|p1= unit: [[Object]] |= Parameter 1
|p1= unit: [[Object]] |PARAMETER1=


| [[Array]] - position in format [[PositionAGL]] |= Return value
| [[Array]] - position in format [[PositionAGL]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[unitAimPosition]] [[player]];</code> |= Example 1
|x1= <code>[[unitAimPosition]] [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[unitAimPositionVisual]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] |= See also
| [[unitAimPositionVisual]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] |SEEALSO=


}}
}}

Revision as of 15:50, 7 April 2019

Hover & click on the images for description

Description

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.
Groups:
Uncategorised

Syntax

Syntax:
unitAimPosition unit
Parameters:
unit: Object
Return Value:
Array - position in format PositionAGL

Examples

Example 1:
unitAimPosition player;

Additional Information

See also:
unitAimPositionVisualaimPoseyePosgetPosASLweaponDirection

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

Notes

Bottom Section