mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:33:29 +00:00
added extract_uuid sqf function and refactored other extract info functions to handle the
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user