getPosATL

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 2 version 1.03
  Arguments of this scripting command don't have to be local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 2
Version:
1.03

Description

Description:
Returns the position of an object relative to the terrain.

Syntax

Syntax:
getPosATL object
Parameters:
object: Object
Return Value:
Array - format PositionATL

Examples

Example 1:
_objPosition = getPosATL player

Additional Information

Multiplayer:
-
See also:
getPosATLVisualsetPosATLpositiongetPosgetPosASLgetPosASLWvisiblePositionvisiblePositionASL

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To
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);