added extract_uuid sqf function and refactored other extract info functions to handle the

This commit is contained in:
Valmo Trindade
2024-08-19 01:37:07 -03:00
parent 5b1890d0cf
commit 4f6b0e684e
4 changed files with 17 additions and 18 deletions

View File

@@ -1,18 +1,4 @@
params["_unit"];
private _role = "Gnd Combat Infantry Rifleman";
if (vehicle _unit != _unit) then {
if (vehicle _unit isKindOf "StaticWeapon") then {
_role = "Gnd Combat Infantry Mortar";
};
};
if ([_unit] call ace_common_fnc_isMedic) then {
_role = "Gnd Combat Infantry Medic";
};
if ([_unit] call ace_common_fnc_isEngineer || [_unit] call ace_common_fnc_isEOD) then {
_role = "Gnd Combat Infantry Engineer";
};
private _role = "a-f-G";
_role