getPosATL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= Positions |GROUP1= | |gr1= Positions |GROUP1= | ||
| Returns the position of an object relative to the terrain. |DESCRIPTION= | | Returns the position of an object relative to the terrain. |DESCRIPTION= | ||
| '''getPosATL''' object |SYNTAX= | | '''getPosATL''' object |SYNTAX= | ||
Line 17: | Line 14: | ||
| [[Array]] - format [[PositionATL]] |RETURNVALUE= | | [[Array]] - format [[PositionATL]] |RETURNVALUE= | ||
|x1= <code>_objPosition = getPosATL [[player]]</code> |EXAMPLE1= | |x1= <code>_objPosition = getPosATL [[player]]</code> |EXAMPLE1= | ||
| [[getPosATLVisual]], [[setPosATL]], [[position]], [[getPos]], [[getPosASL]], [[getPosASLW]], [[visiblePosition]], [[visiblePositionASL]] |SEEALSO= | | [[getPosATLVisual]], [[setPosATL]], [[position]], [[getPos]], [[getPosASL]], [[getPosASLW]], [[visiblePosition]], [[visiblePositionASL]] |SEEALSO= |
Revision as of 01:36, 17 January 2021
Description
- Description:
- Returns the position of an object relative to the terrain.
- Groups:
- Positions
Syntax
- Syntax:
- getPosATL object
- Parameters:
- object: Object
- Return Value:
- Array - format PositionATL
Examples
- Example 1:
_objPosition = getPosATL player
Additional Information
- See also:
- getPosATLVisualsetPosATLpositiongetPosgetPosASLgetPosASLWvisiblePositionvisiblePositionASL
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