changed default affiliation to be unkown

This commit is contained in:
Valmo Trindade
2025-11-26 20:20:51 -03:00
parent 524e7a0b3e
commit 2108d20b01

View File

@@ -9,7 +9,9 @@ private _type = "G";
private _role = "a-f-G-U-C-I";
private _side = side _unit;
if (isNil {_unit getVariable "armatak_current_side"}) then {
if (isNil {
_unit getVariable "armatak_current_side"
}) then {
_side = _unit getVariable "armatak_current_side";
};
@@ -27,7 +29,7 @@ switch (str _side) do {
_affiliation = "u";
};
default {
_affiliation = "f";
_affiliation = "u";
};
};
@@ -115,7 +117,6 @@ if ((typeOf (vehicle _unit) != typeOf _unit) or ((_unit_type select 0) == "Vehic
_role = "a-" + _affiliation + "-" + _type;
armatak_attribute_marker_type = _unit getVariable "armatak_attribute_marker_type";
if (!isNil "armatak_attribute_marker_type" or armatak_attribute_marker_type != '') then {