unitAimPosition: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.64 | |1.64 | ||
|arg= global | |arg= global | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
|gr2= Positions | |gr2= Positions | ||
| 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]]. | ||
| '''unitAimPosition''' unit | | '''unitAimPosition''' unit | ||
|p1= unit: [[Object]] | |p1= unit: [[Object]] | ||
| [[Array]] - position in format [[PositionAGL]] | | [[Array]] - position in format [[PositionAGL]] | ||
|x1= <code>[[unitAimPosition]] [[player]];</code> | |x1= <code>[[unitAimPosition]] [[player]];</code> | ||
| [[unitAimPositionVisual]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] | | [[unitAimPositionVisual]], [[aimPos]], [[eyePos]], [[getPosASL]], [[weaponDirection]] | ||
}} | }} |
Revision as of 11:43, 18 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