So I've been trying to do funky things with leaderboards. I'm, trying to make an independent leaderboard for each player that displays to him his own stats.
This strangely generates 12 leaderboards for every player which totally clutters the screen. I want to make one player have his own leader board which tracks only his own stats.
I don't think you need to pick an integer from 1-12 to create a leader board for every player.
you create one leader board, then you show it for all players. Currently you are creating a leader board for every player then showing every single one
I picked the integer from 1 to 12 so that i can easily grab data from the variables storing information that the leaderboard displays. I have things like income, worker count, control zone count and they're all stored in arrays. Each of the indexes of the arrays corresponds to a different player 1-12. So Leaderboard[6] should display information from player [6] which should be picked by the integer.
The problem with creating one leaderboard is that I don't know how I'm gonna show each player their own leaderboard which is hidden from all other players. If I only have one board I can't show it specifically. I was sure that the lines
Leaderboard - Hide all leaderboards for (All players)
And
Leaderboard - Turn Leaderboards[(Picked integer)] minimize button On for Picked Player
Leaderboard - Show Leaderboards[(Picked integer)] minimize button for Picked Player
Leaderboard - Enable Showing state for Leaderboards[(Picked integer)] for Picked Player
I even would always recommend dialogs over leaderboards because leaderboards are just insanely huge on the screen and creating dialogs for every player isn't that difficult... (and you can change everything displayed per player and draw pictures, ...)
So I've been trying to do funky things with leaderboards. I'm, trying to make an independent leaderboard for each player that displays to him his own stats.
Tracker
This strangely generates 12 leaderboards for every player which totally clutters the screen. I want to make one player have his own leader board which tracks only his own stats.
I don't think you need to pick an integer from 1-12 to create a leader board for every player.
you create one leader board, then you show it for all players. Currently you are creating a leader board for every player then showing every single one
@nevjmac: Go
I picked the integer from 1 to 12 so that i can easily grab data from the variables storing information that the leaderboard displays. I have things like income, worker count, control zone count and they're all stored in arrays. Each of the indexes of the arrays corresponds to a different player 1-12. So Leaderboard[6] should display information from player [6] which should be picked by the integer.
The problem with creating one leaderboard is that I don't know how I'm gonna show each player their own leaderboard which is hidden from all other players. If I only have one board I can't show it specifically. I was sure that the lines
Leaderboard - Hide all leaderboards for (All players)
And Leaderboard - Turn Leaderboards[(Picked integer)] minimize button On for Picked Player Leaderboard - Show Leaderboards[(Picked integer)] minimize button for Picked Player Leaderboard - Enable Showing state for Leaderboards[(Picked integer)] for Picked Player
Would focus in on only one board per player.
I would redo this and make a dialog instead.
then you will be able to use this
@JacobNielsen: Go
Yea I would be doing it in dialogs, as they can be individual, I think leader boards are global so the same thing is displayed for all
@nevjmac: Go
I even would always recommend dialogs over leaderboards because leaderboards are just insanely huge on the screen and creating dialogs for every player isn't that difficult... (and you can change everything displayed per player and draw pictures, ...)
@Ahli634: Go
Alright. Dialog it is then.
Thanks a lot guys.