• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Can players select their player number in lobby?

Status
Not open for further replies.
Level 6
Joined
Apr 15, 2012
Messages
205
What I'm wondering is if for an example there are 4 players in a lobby. These players are player 1,2,3,4. Can they then change to be player 1,3,4,5?

Is there a way to prevent them from selecting which player number they are?
 
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).
 
Status
Not open for further replies.
Back
Top