enhanced drone callsign

This commit is contained in:
Valmo Trindade
2024-12-11 05:40:15 -03:00
parent 6a348c4997
commit 9f3ad4f9ed

View File

@@ -7,17 +7,11 @@ private _atak_longitude = _location select 1;
private _atak_speed = speed _drone;
private _atak_bearing = parseNumber ((getDir _drone) toFixed 0);
private _atak_role = "a-f-A";
private _atak_callsign = "UAV";
private _atak_callsign = getText(configFile >> "CfgVehicles" >> typeOf _unit >> "displayName");
private _atak_server_instance = missionNamespace getVariable "_atak_server_instance";
private _atak_server_instance_token = missionNamespace getVariable "_atak_server_instance_token";
private _atak_altitude = _location select 2;
if (isUAVConnected _unit) then {
_atak_callsign = format ["[UAV]%1", typeOf _unit ];
} else {
_atak_callsign = getText(configFile >> "CfgVehicles" >> typeOf _unit >> "displayName");
};
switch (side _drone) do {
case "WEST": {
_atak_role = "a-f-A-M-F-Q"