#Proper way to create different lobby types/max player
1 messages · Page 1 of 1 (latest)
the function is called RunQuckMatch
i have an old version so the spelling has probably been fixed
You only need 1 just update the attributes for whatever game mode your searching for
So for example lets say you had 3 game modes each with with its own mode name and a different max player count
So you could represent that as 3 buttons
Each button could call its own handler for the Click event
void ClickModeOne()
{
// set the create metadata, search metadata and max player counts
// then call run quick match
}
void ClickModeTwo()
{
// set the create metadata, search metadata and max player counts
// then call run quick match
}
void ClickModeThree()
{
// set the create metadata, search metadata and max player counts
// then call run quick match
}
so you just have 1 quick match control, your button clicks are adjusting the settings then calling run quick match
no need for 3 seperate ones
how do i set the max player counts
can it be like `` quickMatchLobbyControl.createArguments.slots = 1;`