Just wanted to report an issue, unsure if it's on my end or not.
I'm having trouble getting the role limits to work right. I can limit one role without problems; I can see the number I set as a limit to the right of the role name on the respawn screen. However, if I assign a second role a limit, I get an error message at the respawn screen:
The loadouts are still available, but I see no limit number next to any role. I can still respawn and play however.
Here's the relevant part of my description.ext
class CfgRespawnInventory
{
class Class1
{
vehicle = "B_Soldier_F";
role = "role1";
};
class Class2
{
role = "role2";
vehicle = "B_Soldier_M_F";
};
};
class CfgRoles
{
class role1
{
displayName = "Role1";
icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa";
};
class role2
{
displayName = "Role2";
icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\private_gs.paa";
};
};
Here is the init.sqf I used for testing
[missionNamespace, ["class1",0,1]] call BIS_fnc_addRespawnInventory;
[missionNamespace, ["class2",0,1]] call BIS_fnc_addRespawnInventory;
I tried switching up the limits, limiting only roles, loadouts, or both, but the message remained the same.
Love the new system by the way!