ATLToASL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *([^d][^= ]+) \| *p1 *=" to " |s1=$1 |p1=") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2oa | |game1= arma2oa | ||
|version1= 1.62 | |||
|1. | |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]] | ||
}} | }} | ||
Revision as of 22:51, 10 June 2021
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
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