Staredit Network > Forums > SC2 Assistance > Topic: Leaderboard
Leaderboard
Jun 25 2010, 4:12 pm
By: Devourer  

Jun 25 2010, 4:12 pm Devourer Post #1

Hello

How do I make a working leaderboard which refreshes automatically and displays the "units killed score" of the players.
My attempt failed for some reasons, also, is "destroy leaderboard" bugged for all of you?



Please report errors in the Staredit.Network forum.

Jun 25 2010, 8:29 pm DavidJCobb Post #2



AFAIK there is no way to hide a leaderboard, and AFAIK leaderboards are always auto-updating without the need for trigger-based involvement. I'll edit this post with the specific trigger action(s).

LEADERBOARD (POINTS)
Show leaderboard for most kills.
Display label: <label>.



None.

Jun 25 2010, 8:32 pm Aristocrat Post #3



Quote from DavidJCobb
AFAIK there is no way to hide a leaderboard, and AFAIK leaderboards are always auto-updating without the need for trigger-based involvement. I'll edit this post with the specific trigger action(s).

LEADERBOARD (POINTS)
Show leaderboard for most kills.
Display label: <label>.

Starcraft 2, man.

I know that leaderboards work; I've seen it used in one of those 9000 cannon defense maps, but I can't find the file :(



None.

Jun 25 2010, 8:33 pm DavidJCobb Post #4



Quote from Aristocrat
Quote from DavidJCobb
AFAIK there is no way to hide a leaderboard, and AFAIK leaderboards are always auto-updating without the need for trigger-based involvement. I'll edit this post with the specific trigger action(s).

LEADERBOARD (POINTS)
Show leaderboard for most kills.
Display label: <label>.

Starcraft 2, man.
Wait, this is...?

*checks*

Shit. :><:



None.

Jun 25 2010, 8:34 pm Devourer Post #5

Hello

lol'd.
Make sure in which forum you are posting.



Please report errors in the Staredit.Network forum.

Jun 25 2010, 8:42 pm The Starport Post #6



There's no SC2 forum label visible from inside the thread that I can see. It only says "Staredit Network » Triggers".



None.

Jun 26 2010, 3:32 pm Ahli Post #7

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Initialization

Updating

things I don't know:
-add player to leaderboard [sense?]
-how to use the minimize button? always screwed my leaderboard.
-I didn't try to move it somewhere else.




Jun 26 2010, 3:41 pm Devourer Post #8

Hello

What is the UNIT SCORE item like in sc1? (kill score)
I basically want to create a leaderboard displaying a player's killscore, like in sc1.



Please report errors in the Staredit.Network forum.

Jun 26 2010, 4:05 pm Demented Shaman Post #9



Just use the player score value function and set the leaderboard to that. It's simple.



None.

Jun 26 2010, 4:12 pm Devourer Post #10

Hello

I know player score, but what score type exactly?
There is stuff like APM and Gas gathered by killing units and all that.
What is for killing socre?



Please report errors in the Staredit.Network forum.

Jun 26 2010, 4:25 pm Demented Shaman Post #11



It's obviously Point Value for Units Killed.



None.

Jun 26 2010, 4:30 pm Devourer Post #12

Hello

but this didn't work for me, can make a trigger which really works? (post it)



Please report errors in the Staredit.Network forum.

Jun 26 2010, 4:37 pm Demented Shaman Post #13



It works for me, I just tested it.



None.

Jun 26 2010, 4:43 pm Devourer Post #14

Hello

Quote from Devourer
but this didn't work for me, can you make a trigger which really works? (post it)
Please? :)



Please report errors in the Staredit.Network forum.

Jun 27 2010, 2:59 am (U)Bolt_Head Post #15



I think this is the kind of thing you might need. I'm sure there are different ways to do it too.

Create a global varables
GlobalVar - Leaderboard - 'leaderboardVar' = NULL

FIRST TRIGGER
LocalVar - INT - 'i' = 0
=============================
Events - Map Init
==============================
Actions
- Create Leaderboard with 2 columns and 8 rows //(say you have 8 players)
- Variable set 'leaderboardVar' to (last created leaderboard)
- Repeat Actions 8 times.
--- Modify Variable 'i' + 1
--- Set Leaderboard Item Text at Column 1 Row 'i' to (Name of Player 'i')
--- Set Leaderboard Item Text at Column 2 Row 'i' to 0
//End Repeat Actions Loop

SECOND TRIGGER
======================
Events - Unit Any Unit Dies
======================
Actions
- Set ('leaderboardVar') item text at Column (2) row (KillingPlayer) to (Real2Text(Player(KillingPlayer) (Point Value of Units Killed) score)) with 0 decimal places)



None.

Jun 27 2010, 3:04 am Demented Shaman Post #16



Yea, that's pretty much what I had for the second trigger. I think I used an int to text though and it worked.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:27 am]
m.0.n.3.y -- Maybe because it's an EUD map?
[03:27 am]
m.0.n.3.y -- Can't upload maps to the DB. Error says "The action you have performed caused an Error". Any word?
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
Please log in to shout.


Members Online: Roy, RIVE, NudeRaider