Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
to be honest i don't know. the player numbers are the order the players joined the lobby.
you can still save the players in an array inside the map if you need different order. it would be interesting to know why you would like to do this.
I'm creating a leaderboard where the number of rows are the number of active players. If there are 7 players, but one player decided to be player 8 in the lobby, his name won't show up on the leaderboard. When a player kills something I add score to their row using the player number the killing player had. I don't know how to explain it very good.
Maybe the color the player chose decides which player number that he has? Red = player 1, Blue = player 2 etc.
I've noticed that you can't jump down slots in the lobby like you could in WC3.
Use the inbuilt leaderboard functionality of StarCraft II. No need for dealing with rows then as it will handle the rows. All you need to do is deal with the player directly. It can even be made to sort it for you.
It takes a bit of fiddiling to get working but it does work.
The only problem I recall is that player slots are offset incorrectly but a constant can be used to fix this (if it has not been patched).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.