unitAimPositionVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 8: Line 7:
|gr1= Object Manipulation |GROUP1=
|gr1= Object Manipulation |GROUP1=
|gr2= Render Time Scope |GROUP2=
|gr2= Render Time Scope |GROUP2=
____________________________________________________________________________________________


| Returns the position on the unit other units can aim at in render scope. See also [[aimPos]], [[unitAimPosition]].  |DESCRIPTION=
| Returns the position on the unit other units can aim at in render scope. See also [[aimPos]], [[unitAimPosition]].  |DESCRIPTION=
____________________________________________________________________________________________


| '''unitAimPositionVisual''' unit |SYNTAX=
| '''unitAimPositionVisual''' unit |SYNTAX=
Line 18: Line 15:


| [[Array]] - position in format [[PositionAGL]] |RETURNVALUE=
| [[Array]] - position in format [[PositionAGL]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[unitAimPositionVisual]] [[player]];</code> |EXAMPLE1=
|x1= <code>[[unitAimPositionVisual]] [[player]];</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[unitAimPosition]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] |SEEALSO=
| [[unitAimPosition]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] |SEEALSO=

Revision as of 05:23, 17 January 2021

Hover & click on the images for description

Description

Description:
Returns the position on the unit other units can aim at in render scope. See also aimPos, unitAimPosition.
Groups:
Object ManipulationRender Time Scope

Syntax

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

Examples

Example 1:
unitAimPositionVisual player;

Additional Information

See also:
unitAimPositionaimPoseyePosgetPosASLweaponDirection

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