mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:23:28 +00:00
fixed callsign function when vehicle is crewed
This commit is contained in:
@@ -17,7 +17,11 @@ if (roleDescription _unit != "") then {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if ((([_unit] call BIS_fnc_objectType) select 0) == "Vehicle") then {
|
if ((([_unit] call BIS_fnc_objectType) select 0) == "Vehicle") then {
|
||||||
_callsign = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName") + " | " + name _unit;
|
_callsign = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName");
|
||||||
|
|
||||||
|
if (!isNull driver _unit) then {
|
||||||
|
_callsign = getText (configFile >> "CfgVehicles" >> typeOf _unit >> "displayName") + " | " + name (driver _unit);
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
if (unitIsUAV _unit) then {
|
if (unitIsUAV _unit) then {
|
||||||
|
|||||||
Reference in New Issue
Block a user