unitAimPosition: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|gr2= Positions |GROUP2= | |gr2= Positions |GROUP2= | ||
| 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= | ||
Line 19: | Line 16: | ||
| [[Array]] - position in format [[PositionAGL]] |RETURNVALUE= | | [[Array]] - position in format [[PositionAGL]] |RETURNVALUE= | ||
|x1= <code>[[unitAimPosition]] [[player]];</code> |EXAMPLE1= | |x1= <code>[[unitAimPosition]] [[player]];</code> |EXAMPLE1= | ||
| [[unitAimPositionVisual]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] |SEEALSO= | | [[unitAimPositionVisual]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] |SEEALSO= |
Revision as of 04:23, 17 January 2021
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:
- Object ManipulationPositions
Syntax
- Syntax:
- unitAimPosition unit
- Parameters:
- unit: Object
- Return Value:
- Array - position in format PositionAGL
Examples
- Example 1:
unitAimPosition player;
Additional Information
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