ASLToAGL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Some wiki formatting)
 
(3 intermediate revisions by 2 users not shown)
Line 10: Line 10:
|s1= [[ASLToAGL]] posASL  
|s1= [[ASLToAGL]] posASL  


|p1= posASL: [[Position#PositionASL|PositionASL]] - position to convert
|p1= posASL: [[Array]] format [[Position#PositionASL|PositionASL]] - position to convert


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


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


|seealso= [[AGLToASL]] [[ASLToATL]] [[ATLToASL]] [[getPos]] [[getPosATL]], [[getPosASL]]
|seealso= [[AGLToASL]] [[ASLToATL]] [[ATLToASL]] [[getPos]] [[getPosATL]] [[getPosASL]] [[setUnitFreefallHeight]]
}}
}}

Latest revision as of 15: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