I have a dialog leaderboard in my map and what im trying to do is this.
I am adding a different mode and i want to add a different value to appear on the dialog leaderboard when this mode is active.
Like, the current leaderboard shows Player names and kills, so i would like when the different mode is active, to make the leaderboard add 1 more value, for example (a terrazine icon and the amount of terrazine collected per Player).
I'm not sure how much help I can be because I don't use the default leaderboards, but it looks like there is an option to set the leaderboard columns. I imagine you could create a trigger that adds 1 column to the leaderboard when that mode is enabled. If the mode is toggled on and off in-game, then you'd want a trigger that responds to that toggle by changing the number of columns (add 1 for enabled, remove 1 for disabled). Unless your leaderboard update function is constantly running and you can work with local variables, you'd need to create a global boolean variable that lets the leaderboard update function know if you're showing that extra column.
Alternatively, you could do what many of us do and create your own leaderboard from scratch. It can take a while to do that, but you can get it exactly the way you want.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a dialog leaderboard in my map and what im trying to do is this.
I am adding a different mode and i want to add a different value to appear on the dialog leaderboard when this mode is active.
Like, the current leaderboard shows Player names and kills, so i would like when the different mode is active, to make the leaderboard add 1 more value, for example (a terrazine icon and the amount of terrazine collected per Player).
Is that possible?
Anyone with some Info about if this is at least possible?
Thank you.
I'm not sure how much help I can be because I don't use the default leaderboards, but it looks like there is an option to set the leaderboard columns. I imagine you could create a trigger that adds 1 column to the leaderboard when that mode is enabled. If the mode is toggled on and off in-game, then you'd want a trigger that responds to that toggle by changing the number of columns (add 1 for enabled, remove 1 for disabled). Unless your leaderboard update function is constantly running and you can work with local variables, you'd need to create a global boolean variable that lets the leaderboard update function know if you're showing that extra column.
Alternatively, you could do what many of us do and create your own leaderboard from scratch. It can take a while to do that, but you can get it exactly the way you want.