mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:33:29 +00:00
enhanced drone callsign
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user