aimPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 96412 by killzone_kid on 2016-06-28T14:01:55Z)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the position of the object other units can aim to. |= Description
| Returns the position of the object other units can aim to. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''aimPos''' object |= Syntax
| '''aimPos''' object |SYNTAX=


|p1= object: [[Object]] |= Parameter 1
|p1= object: [[Object]] |= Parameter 1


| [[Array]] - format [[PositionASL]] |= Return value
| [[Array]] - format [[PositionASL]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 20: Line 20:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 11:25, 7 April 2019

Hover & click on the images for description

Description

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

Syntax

Syntax:
aimPos object
Parameters:
object: Object
Return Value:
Array - format PositionASL

Examples

Example 1:
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

Notes

Bottom Section

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]).