ATLToASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "PositionATL" to "PositionATL")
Line 12: Line 12:
|gr1= Positions  
|gr1= Positions  


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


|s1= [[ATLToASL]] pos  
|s1= [[ATLToASL]] pos  


|p1= pos: [[PositionATL]] - position to convert  
|p1= pos: [[Position#PositionATL|PositionATL]] - position to convert  


|r1= [[Array]] format [[PositionASL]]  
|r1= [[Array]] format [[PositionASL]]  

Revision as of 16:44, 5 January 2022

Hover & click on the images for description

Description

Description:
Converts a position from PositionATL to PositionASL
Groups:
Positions

Syntax

Syntax:
ATLToASL pos
Parameters:
pos: PositionATL - position to convert
Return Value:
Array format PositionASL

Examples

Example 1:
ATLToASL (getPosATL player) isEqualTo getPosASL player
Example 2:
_camPosASL = ATLToASL positionCameraToWorld [0,0,0];

Additional Information

See also:
ASLToATLAGLToASLASLToAGLgetPosgetPosATLgetPosASL

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