expanded marker types to planes and helis

This commit is contained in:
Valmo Trindade
2024-08-20 05:56:41 -03:00
parent e30b979747
commit 00d1b2a24f

View File

@@ -3,8 +3,20 @@ params["_unit"];
private _affiliation = "f";
private _type = "G";
switch (side _unit) do {
case "WEST": { _affiliation = "f"; };
case "EAST": { _affiliation = "h"; };
case "INDEPENDENT": { _affiliation = "n"; };
case "CIVILIAN": { _affiliation = "u"; };
default { };
};
if (vehicle _unit isKindOf "plane") then {
_type = "A";
_type = "A-M-F";
};
if (vehicle _unit isKindOf "Helicopter") then {
_type = "A-M-H";
};
_role = "a-" + _affiliation + "-" + _type;