B
butters132
Guest
Thanks but i got a question. What are [Team] Kills [Deaths] Alpha Team and Kills_Alpha in the first part of your code? Are they strings or variables that you forgot to give me?
Code:Multiboard - Set the text for (Last created multiboard) item in column 2, row ((Player number of (Owner of (Killing unit))) + 1) to (String(player_kills[(Player number of (Owner of (Killing unit)))]))
Look at the row. What if there weren't all players in the game to begin with, for example:
Name
Red
Blue
Teal
Yellow
Orange
...where for example, player four (purple) is missing? wouldnt that make the scores malfunction for yellow and orange? yellow is player 5, yet he's in row 5 (instead of 6?)
Set TempInt = 1
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Player((Integer A))) slot status) Equal to Is playing
Then - Actions
Set TempInt = (TempInt + 1)
Multiboard - Set the text for Multiboard item in column 1, row TempInt to (PlayerColor[(Integer A)] + (Name of (Player((Integer A)))))
Multiboard - Set the text for Multiboard item in column 2, row TempInt to (String(HeroKills[(Integer A)]))
Multiboard - Set the text for Multiboard item in column 3, row TempInt to (String(HeroDeaths[(Integer A)]))
Multiboard - Set the text for Multiboard item in column 4, row TempInt to (String(TimeAsKing[(Integer A)]))
Else - Actions