aimPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (Bot: Replacing category Scripting Commands Arma 3 with Arma 3: Scripting Commands)
Line 34: Line 34:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
<!-- CONTINUE Notes -->
<!-- CONTINUE Notes -->
<dl class="command_description">
<dl class="command_description">
Line 49: Line 43:
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Arma 3: Scripting Commands]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 16:29, 3 December 2018

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