I think what you mean is a Multiboard because Leaderboards only have 2 colums - player name and some value. Here is the trigger that creates the Multiboard:
Untitled Trigger 002
Trigger:
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 12 columns and 4 rows, titled Title
I cannot do the rest for you because it depends heavily on what the table is going to content. However I can give you tips:
- refresh your table each 1 seconds ( that means replacing the values (in your case - most likely with variables))
-do NOT create the hashtable at map initialozation - it simply won't show
I'm done. I'll attach the testmap. This is what you have to do:
•Open your map
•Go to File>Preferences
•On the Dialog Box check "Automatically create unknown variables when pasting trigger data"
•Open my map. Go to trigger editor and copy all the triggers from "Copy these triggers"
•Open your map and paste the triggers
If I have done everything correctly you won't need to do anything else. If, however, something goes wrong PM me or post it here and I'll be glad to help.
EDIT: Forgot to tell you - if you try to test the map only Player(Red) will appear in the table. That is because he is the only one that is in the game. To fully test it run the map via Warcraft III and add computer players.
EDIT 2: I forgot to do something but I can still make it if you want - If a player leaves his name will become gray and have a (Left Sign) so it will be like WorldEdit(Left)
Here are the triggers if anyone wants to access them:
Trigger:
ColourStrings
Events
Map initialization
Conditions
Actions
Set StringPlayerColourCodes[1] = |cffff0000
Set StringPlayerColourCodes[2] = |cff0000ff
Set StringPlayerColourCodes[3] = |cff00ffff
Set StringPlayerColourCodes[4] = |cff550088
Set StringPlayerColourCodes[5] = |cffffff00
Set StringPlayerColourCodes[6] = |cffff8800
Set StringPlayerColourCodes[7] = |cff00ff00
Set StringPlayerColourCodes[8] = |cffee55bb
Set StringPlayerColourCodes[9] = |cff999999
Set StringPlayerColourCodes[10] = |cff77bbff
Trigger:
SetKills
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) is A Hero) Equal to True
Then - Actions
Set HeroKills[(Player number of (Owner of (Killing unit)))] = (HeroKills[(Player number of (Owner of (Killing unit)))] + 1)
Else - Actions
Set CreepKills[(Player number of (Owner of (Killing unit)))] = (CreepKills[(Player number of (Owner of (Killing unit)))] + 1)
Trigger:
SetDeaths
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Dying unit) is A Hero) Equal to True
Then - Actions
Set HeroDeaths[(Player number of (Owner of (Dying unit)))] = (HeroDeaths[(Player number of (Owner of (Dying unit)))] + 1)
Else - Actions
Trigger:
MultiboardCreation
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
-------- Creates the Multiboard. the TempInteger contains the number of the players playing. The Table will have ((number of player) +1) rows --------
Set TempInteger = (Number of players in (All players))
Multiboard - Create a multiboard with 4 columns and (TempInteger + 1) rows, titled Statistics
-------- This removes the icons that ussally apear on each cell and sets the default size to 8% --------
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
For each (Integer B) from 1 to (TempInteger + 1), do (Actions)
Loop - Actions
Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row (Integer B) to Show text and Hide icons
Multiboard - Set the width for (Last created multiboard) item in column (Integer A), row (Integer B) to 8.00% of the total screen width
-------- This thing sets the first collum to this: 1."Player:" 2. -Name of Player 1- , 3 -Name ofPlayer 2- ..... The colour code colours the name in its owner's colour --------
For each (Integer A) from 1 to (TempInteger + 1), do (Actions)
Loop - Actions
Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 8.00% of the total screen width
If ((Integer A) Equal to 1) then do (Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Player <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> else do (Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to (StringPlayerColourCodes[((Integer A) - 1)] + (Name of (Player(((Integer A) - 1))))))
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Player :
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Hero Kills :
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Creep Kills :
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Deaths :
Multiboard - Minimize (Last created multiboard)
Multiboard - Maximize (Last created multiboard)
Trigger:
MultiboardRefresh
Events
Time - Every 1.00 seconds of game time
Conditions
Actions
Set TempInteger = (Number of players in (All players))
For each (Integer B) from 2 to (TempInteger + 1), do (Actions)
Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer B) to (String(HeroKills[((Integer B) - 1)]))
For each (Integer B) from 2 to (TempInteger + 1), do (Actions)
Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row (Integer B) to (String(CreepKills[((Integer B) - 1)]))
For each (Integer B) from 2 to (TempInteger + 1), do (Actions)
Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 4, row (Integer B) to (String(HeroDeaths[HeroDeaths[((Integer B) - 1)]]))
It'll be good practice at least, I did a bunch of practice boards the last few weeks but that's a bit different than actual repair. It's pretty obvious what's going on with those, so it's not very hard to trace the leads, and they aren't designed with faults so
Site is peaking on traffic for the recipes - Sundays are always the big days and we are 200 plus unique visitors an hour right now and it will be like that probably be around 3000 total on the site all day maybe more if Google desires it LOL
Anyway I have a power bench that I don't actually know how to use, but I'm assuming I can take the battery out and power it directly from that to see if any of them turn on.
If you had kids like me that grew up in that era you could just go to your closet and fish out one of the cords from the cord bag. I bet I have everyone of those cord connectors plus some