ATLToASL: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([^d][^= ]+) \| *p1 *=" to " |s1=$1 |p1=")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2oa  
|game1= arma2oa  
|version1= 1.62


|1.62
|game2= tkoh
|version2= 1.00
 
|game3= arma3
|version3= 0.50


|gr1= Positions  
|gr1= Positions  


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


|s1= [[ATLToASL]] pos  
|s1= [[ATLToASL]] pos  
Line 13: Line 18:
|p1= pos: [[PositionATL]] - position to convert  
|p1= pos: [[PositionATL]] - position to convert  


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


|x1= <code>[[ATLToASL]] ([[getPosATL]] [[player]]) [[isEqualTo]] [[getPosASL]] [[player]]</code>  
|x1= <code>[[ATLToASL]] ([[getPosATL]] [[player]]) [[isEqualTo]] [[getPosASL]] [[player]]</code>  
Line 21: Line 26:
|seealso= [[ASLToATL]], [[AGLToASL]], [[ASLToAGL]], [[getPos]], [[getPosATL]], [[getPosASL]]
|seealso= [[ASLToATL]], [[AGLToASL]], [[ASLToAGL]], [[getPos]], [[getPosATL]], [[getPosASL]]
}}
}}
[[Category:Arma 2: Operation Arrowhead: New Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Revision as of 22:51, 10 June 2021

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