Hey guys, is there a way to make everyone pick the same race in the lobby of a game ( i knwo thats easy) but then spawn for them a random race so that they can play a melee game that way?
You'd probably ask why... but... I just want to make a map where you can have a big ffa and everyone can go random and you'll get a guaranteed even distribution of each race in the game. Going random in the lobby makes uneven teams for race wars, like having 4 zerg and 1 terran and 2 protoss. So I'll make the random race-choosing mechanic in the game. The function that assigns everyone a race would be easy, but how would you change their race and spawn them in the game?
Just create the starting units with the "create unit with default facing" action and remove the "create default starting units" action. This way the players race does not matter, it gives them the start building of the race that you, the map creator, choose.
Rollback Post to RevisionRollBack
Feel free to Send me a PM if you have any questions/concerns!
To post a comment, please login or register a new account.
Hey guys, is there a way to make everyone pick the same race in the lobby of a game ( i knwo thats easy) but then spawn for them a random race so that they can play a melee game that way?
You'd probably ask why... but... I just want to make a map where you can have a big ffa and everyone can go random and you'll get a guaranteed even distribution of each race in the game. Going random in the lobby makes uneven teams for race wars, like having 4 zerg and 1 terran and 2 protoss. So I'll make the random race-choosing mechanic in the game. The function that assigns everyone a race would be easy, but how would you change their race and spawn them in the game?
Just create the starting units with the "create unit with default facing" action and remove the "create default starting units" action. This way the players race does not matter, it gives them the start building of the race that you, the map creator, choose.