|
1 | 1 | #include "..\script_component.hpp" |
2 | 2 |
|
3 | 3 | /* |
4 | | - * Author: Valmo Trindade |
5 | | - * This function is used to convert the position of a unit to the world world location. |
6 | | - * |
7 | | - * Argument: |
8 | | - * 0: in game latitude <NUMBER> is the latitude of the unit. |
9 | | - * 1: in game longitude <NUMBER> is the longitude of the unit. |
10 | | - * 2: in game altitude <NUMBER> is the altitude of the unit. |
11 | | - * 3: in game bearing <NUMBER> is the bearing of the unit. |
12 | | - * |
13 | | - * Return Value: |
14 | | - * ARRAY -> [latitude, longitude, altitude, bearing] |
15 | | - * |
16 | | - * Example: |
17 | | - * [player] call armatak_client_fnc_convertClientLocation; |
18 | | - * |
19 | | - * Public: Yes |
| 4 | + * Author: Valmo Trindade |
| 5 | + * This function is used to convert the position of a unit to the world world location. |
| 6 | + * |
| 7 | + * Argument: |
| 8 | + * 0: in game latitude <NUMBER> is the latitude of the unit. |
| 9 | + * 1: in game longitude <NUMBER> is the longitude of the unit. |
| 10 | + * 2: in game altitude <NUMBER> is the altitude of the unit. |
| 11 | + * 3: in game bearing <NUMBER> is the bearing of the unit. |
| 12 | + * |
| 13 | + * Return Value: |
| 14 | + * ARRAY -> [latitude, longitude, altitude, bearing] |
| 15 | + * |
| 16 | + * Example: |
| 17 | + * [player] call armatak_client_fnc_convertClientLocation; |
| 18 | + * |
| 19 | + * Public: Yes |
20 | 20 | */ |
21 | 21 |
|
22 | 22 | params["_latitude", "_longitude", "_altitude"]; |
@@ -101,6 +101,9 @@ switch (toLower worldName) do { |
101 | 101 | case "umb_colombia": { |
102 | 102 | _realLocation = _position call armatak_fnc_convert_to_colombia; |
103 | 103 | }; |
| 104 | + case "clafghan": { |
| 105 | + _realLocation = _position call armatak_fnc_convert_to_clafghan; |
| 106 | + }; |
104 | 107 | default { |
105 | 108 | _warning = format ["<t color='#FF8021'>ARMATAK</t><br/> %1", "Unsupported Map"]; |
106 | 109 | [[_warning, 1.5]] call CBA_fnc_notify; |
|
0 commit comments