ATLToASL: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(16 intermediate revisions by 2 users not shown) | |||
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 [[Position#PositionATL|PositionATL]] to [[Position#PositionASL|PositionASL]] | ||
| [[ATLToASL]] pos | |s1= [[ATLToASL]] pos | ||
|p1= pos: [[PositionATL]] - position to convert | |p1= pos: [[Array]] format [[Position#PositionATL|PositionATL]] - position to convert | ||
| [[PositionASL]] | |r1= [[Array]] format [[Position#PositionASL|PositionASL]] | ||
|x1= <sqf>ATLToASL (getPosATL player) isEqualTo getPosASL player;</sqf> | |||
|x1= < | |||
|x2= < | |x2= <sqf>_camPosASL = ATLToASL positionCameraToWorld [0,0,0];</sqf> | ||
| [[ASLToATL]] | |seealso= [[ASLToATL]] [[AGLToASL]] [[ASLToAGL]] [[getPos]] [[getPosATL]] [[getPosASL]] | ||
}} | }} | ||
Latest revision as of 15:40, 10 May 2022
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:
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