getPosATL: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the position of an object relative to the terrain. |= | | Returns the position of an object relative to the terrain. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''getPosATL''' object |= | | '''getPosATL''' object |SYNTAX= | ||
|p1= object: [[Object]] |= | |p1= object: [[Object]] |PARAMETER1= | ||
| [[Array]] - format [[PositionATL]] |= | | [[Array]] - format [[PositionATL]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_objPosition = getPosATL [[player]]</code> |= | |x1= <code>_objPosition = getPosATL [[player]]</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getPosATLVisual]], [[setPosATL]], [[position]], [[getPos]], [[getPosASL]], [[getPosASLW]], [[visiblePosition]], [[visiblePositionASL]] |= | | [[getPosATLVisual]], [[setPosATL]], [[position]], [[getPos]], [[getPosASL]], [[getPosASLW]], [[visiblePosition]], [[visiblePositionASL]] |SEEALSO= | ||
}} | }} |
Revision as of 14:40, 7 April 2019
Description
- Description:
- Returns the position of an object relative to the terrain.
- Groups:
- Uncategorised
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
- Posted on December 18, 2015 - 12:54 (UTC)
- RHfront
- If one desires to retrieve an object from an array of object, be sure to wrap your array information in parenthesis. e.g. getPosATL (myArray select 0);