ATLToASL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Comments" to "|Comments=") |
Lou Montana (talk | contribs) |
||
Line 10: | Line 10: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[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> | | |||
|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
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
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
Categories:
- Scripting Commands
- Introduced with Arma 2: Operation Arrowhead version 1.62
- Arma 2: Operation Arrowhead: New Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Command Group: Uncategorised
- ArmA 2 OA: New Scripting Commands List
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters