mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 21:03:29 +00:00
20 lines
425 B
Plaintext
20 lines
425 B
Plaintext
params["_latitude", "_longitude", "_altitude"];
|
|
|
|
_position = [_latitude, _longitude, _altitude];
|
|
|
|
_realLocation = null;
|
|
|
|
switch (worldName) do {
|
|
case "Altis": {
|
|
_realLocation = _position call armatak_fnc_convert_to_altis;
|
|
};
|
|
case "Stratis": {
|
|
_realLocation = _position call armatak_fnc_convert_to_stratis;
|
|
};
|
|
case "VR": {
|
|
_realLocation = _position call armatak_fnc_convert_to_vr;
|
|
};
|
|
default {};
|
|
};
|
|
|
|
_realLocation |