ATLToASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - ": PositionATL" to ": Array format PositionATL")
m (Some wiki formatting)
 
Line 20: Line 20:
|r1= [[Array]] format [[Position#PositionASL|PositionASL]]  
|r1= [[Array]] format [[Position#PositionASL|PositionASL]]  


|x1= <code>[[ATLToASL]] ([[getPosATL]] [[player]]) [[isEqualTo]] [[getPosASL]] [[player]]</code>  
|x1= <sqf>ATLToASL (getPosATL player) isEqualTo getPosASL player;</sqf>  


|x2= <code>_camPosASL = [[ATLToASL]] [[positionCameraToWorld]] [0,0,0];</code>  
|x2= <sqf>_camPosASL = ATLToASL positionCameraToWorld [0,0,0];</sqf>  


|seealso= [[ASLToATL]] [[AGLToASL]] [[ASLToAGL]] [[getPos]] [[getPosATL]] [[getPosASL]]
|seealso= [[ASLToATL]] [[AGLToASL]] [[ASLToAGL]] [[getPos]] [[getPosATL]] [[getPosASL]]
}}
}}

Latest revision as of 15:40, 10 May 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: Array format PositionATL - position to convert
Return Value:
Array format PositionASL

Examples

Example 1:
Example 2:
_camPosASL = ATLToASL positionCameraToWorld [0,0,0];

Additional Information

See also:
ASLToATL AGLToASL ASLToAGL getPos getPosATL getPosASL

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