getPosATL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 4: Line 4:
| arma2 |= Game name
| arma2 |= Game name
|1.03|= Game version
|1.03|= Game version
|arg= global|= Arguments in MP
|arg= global|Multiplayer Arguments=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 11:09, 5 August 2019

Hover & click on the images for description

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);