HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

leader board can i have 2?

05-31-2003, 07:59 AM#1
AZN-Enigma
Can u make two leader boards have them rotate to display while also being updated? Like if I want a leader board to show how many a player kills and another to show how many deaths the player suffers and have them switch to display every 10 seconds. Is there a way to do that? emote_confused
05-31-2003, 08:08 AM#2
Earth-Fury
every 5 min or whatever:
hide leaderboard 1
show leaderboard 2
05-31-2003, 09:14 AM#3
Dead-Inside
Every X game seconds toggle or make 2. So every 60 seconds of the game you show one, and every other 60 seconds of the game you show the other one. (So they both are displayed for 30 seconds).
05-31-2003, 09:50 AM#4
Earth-Fury
yeah, what i said in more d3etail =P thanks di =D
every 30 sec:
hide leaderboard 2
show leaderboard 1
turn off this triggert
turn onn next trigger

every 30 sec:
hide leaderboard 1
show leaderboard 2
turn off this triggert
turn onn last trigger
05-31-2003, 10:57 AM#5
Dead-Inside
2 triggers. Two leaderboards.
05-31-2003, 12:15 PM#6
FF_Behemoth
Maybe I'm new to this but, how can you tell from leaderboard1 from leaderboard2?? when I created 2 leaderboard, when i try to edit one.. it will say [last created leaderboard]..
05-31-2003, 12:22 PM#7
Earth-Fury
when u make the, set variable after eatc creation: set variable leadeboard 1 = last created leadetbnoard
05-31-2003, 12:50 PM#8
Dead-Inside
You know how to make variables, right?
If not, press the X in the trigger editor. Make a new one, make it a Leaderboard variable and call it Leaderboard1, and a Leaderbaord2.

When you make leaderboard 1, do an action called Set Variable (located at the top of the list).
Then do this:
Set Leaderboard1 = (Last created leaderboard).
Then you create Leaderboard 2, and you do the same but with Leaderboard2.

Then you swap these with one another as I and EF said.
Hope it helped.

Regards
Dead-Inside (Be sure to check in "my" project in my sig)
05-31-2003, 12:56 PM#9
FF_Behemoth
Omg Dead-Insider your a GoDsent... (u2Earth-fury) Its true I'm sorta new to war3 mapping but I have some experiance with triggering. I didnt realize that you can set leaderboard to a variable.. and yes I do know how to do that.. Thx anyways for explain it to me in detail.. I was only gona have 1 leaderboard but I think Imma add a 2nd one..

o and btw Sorry I couldnt help you on ur trigger earlier.

*EDIT* fixed heh
05-31-2003, 01:23 PM#10
Dead-Inside
I'd just like to note that, I am Dead-Inside not Deadinsider, heh.
Those are two completely different things.

Good it helped.

Regards
Dead-Inside
05-31-2003, 06:25 PM#11
AZN-Enigma
See I tried this but im not sure cause if you create leader board and set variable to = last created leader board and then do another leader board and set a variable to = lasted created leader board wont both those variables be = to lasted created leader board and thus u would only have 1 lasted created board and wouldnt be able to get to the first leader board u created emote_sweat emote_confused :////
05-31-2003, 06:47 PM#12
Dead-Inside
LoL. Logics my friend, logics.
LAST CREATED is the one you created after the first one.
You have to use two different variables (or an array, but leaderboard arrays are bugged so I suggest not using them).

This way you have two different boards assigned to two different variables. Logics...

Regards
05-31-2003, 07:38 PM#13
AZN-Enigma
Has anyone even tried this? I did, it dont work. This is wat i did:
Create Leaderboard title kills.
set variable[LeaderboardKills]=Last created leader board.
Create Leaderboard title Deaths.
set variable[LeaderboardDeaths]=Last created leader board.

so now i should have have 2 leader board, 1 should show kills as the tilte the other shows death.

So then I go to create the trigger that toggles the 2 leaderboard:

Every 10 secs.
Show LeaderboardKills.
turn next trigger on
turn this trigger off

every10 secs
show leaderboarddeaths
turn next trigger on
turn this trigger of

It dont work the only thing that displays is the death leader board? why? because both variable equal "last created leaderboard" (which is the death leaderboard) so i cant have more then 1 leader board. I cant believe you people lied to me T.T, I hate Leader boards! I hate em! >_<
06-01-2003, 09:58 AM#14
Guest
i dont think that will work because you can only have 1 leaderboard at a time which means that you cannot have 2 even if one is hidden.

so you must create the leaderboard every 10 seconds. that wont be hard to do.
06-01-2003, 11:45 AM#15
Dead-Inside
Again faulty information.
You first need to hide Leaderboard1, then you show Leaderboard2. After a set of time, you hide Leaderboard1 and show Leaderboard2 again.
Look at EF's trigger, way up there.

... Look first, over all.

Regards
Dead-Inside