ATLToASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''ATLToASL''' pos |SYNTAX=
| [[ATLToASL]] pos |SYNTAX=
|p1= pos: [[PositionATL]] - position to convert |=
 
|p1= pos: [[PositionATL]] - position to convert |Parameter 1=
 
| [[PositionASL]] |RETURNVALUE=
| [[PositionASL]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>[[ATLToASL]] ([[getPosATL]] [[player]]) [[isEqualTo]] [[getPosASL]] [[player]]</code> |EXAMPLE1=
|x1= <code>[[ATLToASL]] ([[getPosATL]] [[player]]) [[isEqualTo]] [[getPosASL]] [[player]]</code> |EXAMPLE1=
|x2= <code>_camPosASL = [[ATLToASL]] [[positionCameraToWorld]] [0,0,0];</code> |EXAMPLE1=
 
|x2= <code>_camPosASL = [[ATLToASL]] [[positionCameraToWorld]] [0,0,0];</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[ASLToATL]], [[AGLToASL]], [[ASLToAGL]], [[getPos]], [[getPosATL]], [[getPosASL]] |SEEALSO=
| [[ASLToATL]], [[AGLToASL]], [[ASLToAGL]], [[getPos]], [[getPosATL]], [[getPosASL]] |SEEALSO=
}}
}}



Revision as of 22:25, 2 September 2019

Hover & click on the images for description

Description

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

Syntax

Syntax:
ATLToASL pos
Parameters:
pos: PositionATL - position to convert
Return Value:
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

Notes

Bottom Section