Closed Coryf88 closed 3 years ago
Using a custom loadout role in the unitInit results in the Team Roster displaying the raw role name.
unitInit
E.g. this setVariable ["unitInit", ["main", "*", "ar", "*"]]; would result in the unit's role being displayed as "ar", instead of "Autorifleman".
this setVariable ["unitInit", ["main", "*", "ar", "*"]];
https://github.com/Neefay/BromA-Framework-A3-Addon/blob/c8565ee3d9dc7a99da8fd27053135b05a9f55f7a/plugins/team_roster/functions/fn_roster.sqf#L119
Fixed in commit https://github.com/Neefay/BromA-Framework-A3-Addon/commit/44daa99a8235d9ba6f45dd4876b87f108f4a30af
Was caused by 3 should be 2 in: https://github.com/Neefay/BromA-Framework-A3-Addon/blob/4abfed0cc3c5a71d061729d6b0d821963c502fe4/loadouts/includes/set-identity.sqf#L6
3
2
Using a custom loadout role in the
unitInit
results in the Team Roster displaying the raw role name.E.g.
this setVariable ["unitInit", ["main", "*", "ar", "*"]];
would result in the unit's role being displayed as "ar", instead of "Autorifleman".https://github.com/Neefay/BromA-Framework-A3-Addon/blob/c8565ee3d9dc7a99da8fd27053135b05a9f55f7a/plugins/team_roster/functions/fn_roster.sqf#L119