• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Leaderboard Cycler

Status
Not open for further replies.
Level 4
Joined
Jun 20, 2008
Messages
22
I think that making a multiboard is way to much work and i want to make a leaderboard cycler like from Rise of China. I have been trying to make my own that looks like this.

  • Events
    • Time - Every 20.00 seconds of game time
  • Conditions
  • Actions
    • Leaderboard - Hide (Kills Leaderboard)
    • Leaderboard - Show (Empire size Leaderboard)
  • Wait 10.00 seconds
    • Leaderboard - Hide (Empire size Leaderboard)
    • Leaderboard - Show (Kills Leaderboard)
The names of the trigger are replaced with the only available functions.

The problem is that you can not choose which leaderboard you want it's only the last created leaderboard and leaderboard of player.

I havent found any simalarities like this any of the threads on hive workshop.
Your help will be deeply appreciated.:thumbs_up::xxd::thumbs_up:
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
Create 2 variables, both of the type 'LeaderBoard',,
then you do like:
  • Leaderboard - Create a Leaderboard blah blah
  • Set KillsLead = (Last Created Leaderboard)
  • -------- Do your actions and such ----------
  • Leaderboard - Create a Leaderboard bla bla
  • Set Empire size = (Last Created Leaderboard)
  • -------- Do your actions again ----------
Now you can choose out of the variables,,
 
Level 16
Joined
Oct 12, 2008
Messages
1,570
Use the trigger i made above, and use the trigger below for changing

  • Events
    • Time - Every 10.00 seconds of game time
  • Conditions
  • Actions
    • If (All conditions true) then, else
      • If (Conditions)
        • KillsShow equal to True
      • Then - Actions
        • Leaderboard - Hide (Kills Leaderboard)
        • Leaderboard - Show (Empire Leaderboard)
        • set KillsShow = false
      • Else - Actions
        • Leaderboard - Hide (Empire size Leaderboard)
        • Leaderboard - Show (Kills Leaderboard)
        • se KillsShow = true
 
Status
Not open for further replies.
Top