unitAimPosition: Difference between revisions
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]]. |= | | 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 |= | | '''unitAimPosition''' unit |SYNTAX= | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
| [[Array]] - position in format [[PositionAGL]] |= | | [[Array]] - position in format [[PositionAGL]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[unitAimPosition]] [[player]];</code> |= | |x1= <code>[[unitAimPosition]] [[player]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[unitAimPositionVisual]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] |= | | [[unitAimPositionVisual]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] |SEEALSO= | ||
}} | }} |
Revision as of 14:50, 7 April 2019
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
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