getPosATL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
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 &#61; getPosATL [[player]]</code> |EXAMPLE1=
|x1= <code>_objPosition &#61; 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

Hover & click on the images for description

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