Page MenuHomeFeedback Tracker

Not able to set more than one role limit - new respawn screen
Feedback, NormalPublic

Description

Following the new respawn screen documentation (Wiki Link), I am able to 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 (pictured):


No role limits appear anymore, and if I ignore this message and spawn anyways, some loadouts dissapear from the list on subsequent respawns. The error message always comes back every respawn, but the line number changes from 150 to 23. I tried switching up the limits, limiting only roles, loadouts, or both, but the message remained the same.

Here is 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 my init.sqf

[missionNamespace, ["class1",0,1]] call BIS_fnc_addRespawnInventory;
[missionNamespace, ["class2",0,1]] call BIS_fnc_addRespawnInventory;

Details

Severity
Major
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Multiplayer
Steps To Reproduce
  1. Create unit in editor
  2. Create 2 loadouts in description.ext
  3. Create 2 roles in description.ext
  4. Assign each loadout a different role
  5. Limit each role in init.sqf (while calling BIS_fnc_addRespawnInventory)
  6. Play in multiplayer

Event Timeline

erodeo created this task.Jun 5 2016, 9:14 AM
erodeo updated the task description. (Show Details)Jun 5 2016, 9:29 AM
erodeo updated the task description. (Show Details)Jun 5 2016, 9:41 AM
erodeo edited Steps To Reproduce. (Show Details)
erodeo updated the task description. (Show Details)

I tried the same test mission which was giving me this error in the latest dev build and everything worked, so I guess this issue will not remain for long, thanks for the quick fix!

erodeo removed a subscriber: erodeo.Jun 7 2016, 12:00 PM
razazel claimed this task.Jun 7 2016, 1:05 PM
razazel changed the task status from New to Feedback.
razazel added a subscriber: razazel.

Hello,

thank you for the feedback and heads up. Please let me know if anything changes in the Dev branch that would cause this issue to emerge again.

Thank you