getPosATL: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) m (global args) |
No edit summary |
||
Line 28: | Line 28: | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on December 18, 2015 - 12:54 (UTC)</dd> | |||
<dt class="note">[[User:RHfront|RHfront]]</dt> | |||
<dd class="note"> | |||
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''')'''; | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 13:54, 18 December 2015
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);