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.
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.
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.
lol'd.
Make sure in which forum you are posting.
Please report errors in the Staredit.Network forum.
There's no SC2 forum label visible from inside the thread that I can see. It only says "Staredit Network » Triggers".
None.

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

Initiate
Events
Timer - Elapsed time is 10.0 Game Time seconds
Local Variables
PlayerAmount = 0 <Integer>
Conditions
Actions
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Variable - Modify PlayerAmount: + 1
Leaderboard - Create a leaderboard with 2 columns and PlayerAmount rows, with the name "Lives", and using (100%, 100%, 100%) color.
Variable - Set Leaderboard = (Last created leaderboard)
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Leaderboard - Set Leaderboard item text at column 1 and row (Picked player) to (Name of player (Picked player))
Leaderboard - Set Leaderboard item text color at column 1 and row (Picked player) to (Color((Current player (Picked player) color)))
Leaderboard - Set Leaderboard item font size at column 1 and row (Picked player) to Small
Leaderboard - Set Leaderboard item text at column 2 and row (Picked player) to (Text(lives[(Picked player)]))
Leaderboard - Set Leaderboard item font size at column 2 and row (Picked player) to Small
Leaderboard - Hide Leaderboard minimize button for (All players)
Updating

Run that, if something has changes e.g. live amount like a monster reaching the end of its path.
Update
Events
Local Variables
Conditions
Actions
Player Group - Pick each player in (Active Players) and do (Actions)
Actions
Leaderboard - Set Leaderboard item text at column 2 and row (Picked player) to (Text(lives[(Picked player)]))
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.
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.
Just use the player score value function and set the leaderboard to that. It's simple.
None.
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.
It's obviously Point Value for Units Killed.
None.
but this didn't work for me, can make a trigger which really works? (post it)
Please report errors in the Staredit.Network forum.
It works for me, I just tested it.
None.
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.
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 LoopSECOND 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.
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.