ASLToAGL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "PositionASL" to "PositionASL")
m (Text replacement - "PositionAGL" to "PositionAGL")
Line 6: Line 6:
|gr1= Positions  
|gr1= Positions  


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


|s1= [[ASLToAGL]] posASL  
|s1= [[ASLToAGL]] posASL  
Line 12: Line 12:
|p1= posASL: [[Position#PositionASL|PositionASL]] - position to convert
|p1= posASL: [[Position#PositionASL|PositionASL]] - position to convert


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


|x1= <code>_playerPosAGL = [[ASLToAGL]] [[getPosASL]] [[player]];</code>  
|x1= <code>_playerPosAGL = [[ASLToAGL]] [[getPosASL]] [[player]];</code>  

Revision as of 16:52, 5 January 2022

Hover & click on the images for description

Description

Description:
Converts position from PositionASL to PositionAGL
Groups:
Positions

Syntax

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

Examples

Example 1:
_playerPosAGL = ASLToAGL getPosASL player;

Additional Information

See also:
AGLToASLASLToATLATLToASLgetPosgetPosATLgetPosASL

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