fixed drone callsign on extract drone info function

This commit is contained in:
Valmo Trindade
2024-12-13 10:02:07 -03:00
parent e23c8cdb78
commit f5e35683a1
3 changed files with 4 additions and 3 deletions

View File

@@ -9,4 +9,5 @@ if (roleDescription _unit != "") then {
_callsign = getText(configFile >> "CfgVehicles" >> typeOf _unit >> "displayName");
};
};
_callsign

View File

@@ -7,7 +7,7 @@ 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 = getText(configFile >> "CfgVehicles" >> typeOf _unit >> "displayName");
private _atak_callsign = getText(configFile >> "CfgVehicles" >> typeOf _drone >> "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;