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)]]))
And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.