When I made my leaderboard, I based it off the leadboard in the SST map (you can find it on battle.net). It used a global variable Leaderaboard type.
When you first created your leaderboard, you need to set the global variable to the last created leaderboard. Then when you go to update your leaderboard, you update your global variable. Just open up the SST map for an example.
My problem is not how to create leaderboards its to how they update i dont understand. The leader board i made showed perfectly the only proplem was it didn't update the vaules. like the income would be 70 and it was say 50 on the board n not update to 70
Like i said, it's because you are updating BoardLastCreated (Last Created Leaderboard) in your update trigger, which will be the value of c_boardNone(No Leaderboard)
Hi everyone, im pretty nooby since I don't no much but i have a problem i can't figure out.
I made a leader board to show the players income and lives.
When a player spawns a unit the income increases. when a unit enters the exit region the team loses a live...
The leaderboard itself works fine shows everything currently. The problem is it wont update. Heres the triggers...
[IMG]//i34.tinypic.com/2qds77n.jpg" rel="noopener nofollow" target="_blank">http://i34.tinypic.com/2qds77n.jpg[/IMG">http://i34.tinypic.com/2qds77n.jpg[/IMG] [IMG]//i38.tinypic.com/2q0otbr.jpg" rel="noopener nofollow" target="_blank">http://i38.tinypic.com/2q0otbr.jpg[/IMG">http://i38.tinypic.com/2q0otbr.jpg[/IMG]
Anyone?
@Starcraft2Warlord: Go
When I made my leaderboard, I based it off the leadboard in the SST map (you can find it on battle.net). It used a global variable Leaderaboard type.
When you first created your leaderboard, you need to set the global variable to the last created leaderboard. Then when you go to update your leaderboard, you update your global variable. Just open up the SST map for an example.
I changed it to last created leaderboard and nothing changed. What is the SST map?
@Starcraft2Warlord: Go
in your editor, open file from battle.net. And look for Starship Troopers - Heinein's REvenge. That map uses leaderboards.
BoardLastCreated will return c_boardNone in your update trigger, have a look at http://forums.sc2mapster.com/development/tutorials/6789-video-triggers-leaderboards-the-onetwo-way/
My problem is not how to create leaderboards its to how they update i dont understand. The leader board i made showed perfectly the only proplem was it didn't update the vaules. like the income would be 70 and it was say 50 on the board n not update to 70
Like i said, it's because you are updating BoardLastCreated (Last Created Leaderboard) in your update trigger, which will be the value of c_boardNone(No Leaderboard)
So basically you are not updating anything.
thank you for the help if there was a rep system the rep+1 haha