ASLToAGL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (Some wiki formatting)
 
(37 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma3dev |= Game name
|game1= arma3
|version1= 1.50


|1.49|= Game version
|gr1= Positions
____________________________________________________________________________________________


| Converts position from [[PositionASL]] to [[PositionAGL]] |= Description
|descr= Converts position from [[Position#PositionASL|PositionASL]] to [[Position#PositionAGL|PositionAGL]]  
____________________________________________________________________________________________


| '''ASLToAGL''' posASL |= Syntax
|s1= [[ASLToAGL]] posASL
|p1= posASL: [[PositionASL]] - position to convert  |=
| [[PositionAGL]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>_playerPosAGL = [[ASLToAGL]] [[getPosASL]] [[player]];</code> |= Example 1
____________________________________________________________________________________________


| [[AGLToASL]], [[ASLToATL]], [[ATLToASL]], [[getPos]], [[getPosATL]], [[getPosASL]] |= See also
|p1= posASL: [[Array]] format [[Position#PositionASL|PositionASL]] - position to convert


}}
|r1= [[Position#PositionAGL|PositionAGL]]


<h3 style="display:none">Notes</h3>
|x1= <sqf>_playerPosAGL = ASLToAGL getPosASL player;</sqf>  
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[AGLToASL]] [[ASLToATL]] [[ATLToASL]] [[getPos]] [[getPosATL]] [[getPosASL]] [[setUnitFreefallHeight]]
</dl>
}}
 
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Arma 3: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 16:39, 10 May 2022

Hover & click on the images for description

Description

Description:
Converts position from PositionASL to PositionAGL
Groups:
Positions

Syntax

Syntax:
ASLToAGL posASL
Parameters:
posASL: Array format PositionASL - position to convert
Return Value:
PositionAGL

Examples

Example 1:
_playerPosAGL = ASLToAGL getPosASL player;

Additional Information

See also:
AGLToASL ASLToATL ATLToASL getPos getPosATL getPosASL setUnitFreefallHeight

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