HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help Making a Countdown Timer and Multiboard

03-18-2007, 06:03 PM#1
scmstrack06
Okay so it would be very very very great for one of you guys to help me out creating a trigger. I'll give you rep... ;)

Anyways, I just came back to Wc3 and been doing pretty good making my own triggers, like Income, and a bank function. (Every x seconds you get x gold if you have a certain building alive, each building you have adds to that x gold.)

So I need help with a multiboard, and a countdown timer in it.

Multiboard

- I need a multiboard titled Village vs. The Slums
- It needs to have the player name, with their name their player color if you can
- It needs to have one column for kills overall of the other team... not just like hero kills
- Another Column that shows their current income.. it starts at 200, and for every "Bank" building they have, it adds 25 to their income
- A final timer at the bottom that counts down from 15 seconds and keeps reseting back to 15, entitled "Income Timer" if you can



THANK YOU SO MUCH IF YOU CAN DO THIS... I SHALL LOVE YOU FOREVER!
03-18-2007, 06:40 PM#2
botanic
This is one that I made for another map just modify it how you need Its pretty straightforward



Trigger:
Tally Score Copy
Collapse Events
Unit - A unit Dies
Collapse Conditions
((Dying unit) is A Hero) Equal to True
Collapse Actions
Set DeadTimer[(Player number of (Owner of (Dying unit)))] = 60
Game - Display to (All players) the text: (A hero has just been killed they will revive in 60 seconds. + )
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Collapse Then - Actions
Unit Group - Add (Dying unit) to RevivableHeroes
Else - Actions

Trigger:
Killed Unit
Collapse Events
Unit - A unit Dies
Collapse Conditions
(Unit-type of (Dying unit)) Not equal to QuickShotDummy
(Unit-type of (Dying unit)) Not equal to RapidShurkenDummy
Collapse Actions
-------- # of Players --------
Set Players = (All players)
Set ShuPlayers = (All allies of Player 1 (Red))
Set WeiPlayers = (All allies of Player 2 (Blue))
Set WuPlayers = (All allies of Player 3 (Teal))
Set PlayersCount = (Number of players in (All players))
-------- Set Owners --------
Set KillingUnitOwner = (Player number of (Owner of (Killing unit)))
Set DeadUnitOwner = (Player number of (Owner of (Dying unit)))
If (((Owner of (Dying unit)) is in ShuPlayers) Equal to True) then do (Set Score_Deaths_Team[1] = (Score_Deaths_Team[1] + 1)) else do (Do nothing)
If (((Owner of (Dying unit)) is in WeiPlayers) Equal to True) then do (Set Score_Deaths_Team[2] = (Score_Deaths_Team[2] + 1)) else do (Do nothing)
If (((Owner of (Dying unit)) is in WuPlayers) Equal to True) then do (Set Score_Deaths_Team[3] = (Score_Deaths_Team[3] + 1)) else do (Do nothing)
-------- Team Scores Kills --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in ShuPlayers) Equal to True
Collapse Then - Actions
Set Score_Kills_Team[1] = (Score_Kills_Team[1] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row 2 to ( + (String(Score_Kills_Team[1])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in WeiPlayers) Equal to True
Collapse Then - Actions
Set Score_Kills_Team[2] = (Score_Kills_Team[2] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row ((Number of players in ShuPlayers) + 3) to ( + (String(Score_Kills_Team[2])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in WuPlayers) Equal to True
Collapse Then - Actions
Set Score_Kills_Team[3] = (Score_Kills_Team[3] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row (((Number of players in ShuPlayers) + ((Number of players in WeiPlayers) + 0)) + 4) to ( + (String(Score_Kills_Team[3])))
Else - Actions
-------- Team Scores Deaths --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in ShuPlayers) Equal to True
Collapse Then - Actions
Set Score_Deaths_Team[1] = (Score_Deaths_Team[1] + 0)
Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to ( + (String(Score_Deaths_Team[1])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in WeiPlayers) Equal to True
Collapse Then - Actions
Set Score_Deaths_Team[2] = (Score_Deaths_Team[2] + 0)
Multiboard - Set the text for ArmyStatisctics item in column 3, row ((Number of players in ShuPlayers) + 3) to ( + (String(Score_Deaths_Team[2])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in WuPlayers) Equal to True
Collapse Then - Actions
Set Score_Deaths_Team[3] = (Score_Deaths_Team[3] + 0)
Multiboard - Set the text for ArmyStatisctics item in column 3, row (((Number of players in ShuPlayers) + ((Number of players in WeiPlayers) + 0)) + 4) to ( + (String(Score_Deaths_Team[3])))
Else - Actions
-------- Kills 1568 --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 1 (Red)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[1] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 5 (Yellow)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[5] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 6 (Orange)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[6] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 8 (Pink)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[8] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
-------- Deaths --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 1 (Red)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[1] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 5 (Yellow)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[5] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 6 (Orange)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[6] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 8 (Pink)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[8] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
-------- Kills 2,4,9,10 --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 2 (Blue)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 4 (Purple)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 9 (Gray)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 10 (Light Blue)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
-------- Deaths --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 2 (Blue)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 4 (Purple)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 9 (Gray)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 10 (Light Blue)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
-------- Kills 3,7,11,12 --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 3 (Teal)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 7 (Green)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 11 (Dark Green)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Killing unit)) is in Player Group - Player 12 (Brown)) Equal to True
((Owner of (Killing unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Kills_Players[(Player number of (Owner of (Killing unit)))] = (Score_Kills_Players[(Player number of (Owner of (Killing unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 2, row Multiboard_Spots[(Player number of (Owner of (Killing unit)))] to ( + (String(Score_Kills_Players[(Player number of (Owner of (Killing unit)))])))
Else - Actions
-------- Deaths --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 3 (Teal)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 7 (Green)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 11 (Dark Green)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
((Owner of (Dying unit)) is in Player Group - Player 12 (Brown)) Equal to True
((Owner of (Dying unit)) slot status) Not equal to Is unused
Collapse Then - Actions
Set Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] = (Score_Deaths_Player[(Player number of (Owner of (Dying unit)))] + 1)
Multiboard - Set the text for ArmyStatisctics item in column 3, row Multiboard_Spots[(Player number of (Owner of (Dying unit)))] to ( + (String(Score_Deaths_Player[(Player number of (Owner of (Dying unit)))])))
Else - Actions

Trigger:
LeaderBoard
Collapse Events
Time - Elapsed game time is 1.00 seconds
Conditions
Collapse Actions
Countdown Timer - Start Game_Time as a One-shot timer that will expire in 999999.00 seconds
Set Multiboard_Spots[1] = 25
Set Multiboard_Spots[2] = 25
Set Multiboard_Spots[3] = 25
Set Multiboard_Spots[4] = 25
Set Multiboard_Spots[5] = 25
Set Multiboard_Spots[6] = 25
Set Multiboard_Spots[7] = 25
Set Multiboard_Spots[8] = 25
Set Multiboard_Spots[9] = 25
Set Multiboard_Spots[10] = 25
Set Multiboard_Spots[11] = 25
Set Multiboard_Spots[12] = 25
-------- # of Players --------
Set Players = (All players)
Set ShuPlayers = (All allies of Player 1 (Red))
Set WeiPlayers = (All allies of Player 2 (Blue))
Set WuPlayers = (All allies of Player 3 (Teal))
Set PlayersCount = (Number of players in (All players))
-------- Create --------
Multiboard - Create a multiboard with 4 columns and (PlayersCount + 6) rows, titled Army Statistics
Set ArmyStatisctics = (Last created multiboard)
-------- Top Line --------
Multiboard - Set the display style for (Last created multiboard) item in column 1, row 0 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 2, row 0 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 3, row 0 to Show text and Hide icons
Multiboard - Set the display style for (Last created multiboard) item in column 4, row 0 to Show text and Hide icons
-------- Remove eye --------
Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Players Name
Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Kills
Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Deaths
Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Dead?
-------- Set Width --------
Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 10.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 2, row 0 to 5.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 5.00% of the total screen width
Multiboard - Set the width for (Last created multiboard) item in column 4, row 0 to 4.00% of the total screen width
-------- DEFINE PLAYERS ON THE BOARD --------
Collapse Player Group - Pick every player in Players and do (Actions)
Collapse Loop - Actions
Set PlayersNames[(Player number of (Picked player))] = (Name of (Picked player))
Set PlayersNamesShu[1] = PlayersNames[1]
Set PlayersNamesShu[2] = PlayersNames[5]
Set PlayersNamesShu[3] = PlayersNames[6]
Set PlayersNamesShu[4] = PlayersNames[8]
Set PlayersNamesWei[1] = PlayersNames[2]
Set PlayersNamesWei[2] = PlayersNames[4]
Set PlayersNamesWei[3] = PlayersNames[9]
Set PlayersNamesWei[4] = PlayersNames[10]
Set PlayersNamesWu[1] = PlayersNames[3]
Set PlayersNamesWu[2] = PlayersNames[7]
Set PlayersNamesWu[3] = PlayersNames[11]
Set PlayersNamesWu[4] = PlayersNames[12]
-------- Sho Team Totals --------
Set TempInteger = 2
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to |cffff0000Wu Army|r
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
-------- Sho Team --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 1 (Red) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[1] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesShu[1]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 5 (Yellow) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[5] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesShu[2]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 6 (Orange) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[6] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesShu[3]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 8 (Pink) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[8] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesShu[4]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
-------- Wei Team Totals --------
Set TempInteger = ((Number of players in ShuPlayers) + 3)
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to |cff0000aaWei Army|...
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
-------- Wei Team --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 2 (Blue) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[2] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesWei[1]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 4 (Purple) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[4] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesWei[2]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 9 (Gray) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[9] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesWei[3]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 10 (Light Blue) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[10] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesWei[4]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
-------- Wu Team Totals --------
Set TempInteger = (((Number of players in ShuPlayers) + ((Number of players in WeiPlayers) + 1)) + 3)
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to |cff32cd32Shu Army|...
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
-------- Wu Team --------
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 3 (Teal) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[3] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesWu[1]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 7 (Green) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[7] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesWu[2]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 11 (Dark Green) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[11] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesWu[3]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Player 12 (Brown) slot status) Not equal to Is unused
Collapse Then - Actions
Set TempInteger = (TempInteger + 1)
Set Multiboard_Spots[12] = TempInteger
Multiboard - Set the text for ArmyStatisctics item in column 1, row TempInteger to PlayersNamesWu[4]
Multiboard - Set the text for ArmyStatisctics item in column 2, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 3, row TempInteger to 0
Multiboard - Set the text for ArmyStatisctics item in column 4, row TempInteger to No
Else - Actions
-------- Clock --------
Set Multiboard_Clock = (PlayersCount + 6)
Multiboard - Set the text for (Last created multiboard) item in column 1, row Multiboard_Clock to Game Time:
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Clock to 0:00
Multiboard - Set the color for (Last created multiboard) item in column 2, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 3, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Set the color for (Last created multiboard) item in column 4, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
Multiboard - Show (Last created multiboard)

Trigger:
Tally Clock Copy
Collapse Events
Time - Every 1.00 seconds of game time
Conditions
Collapse Actions
Set Multiboard_Clock = (PlayersCount + 6)
Set Game_Minutes = ((Integer((Elapsed time for Game_Time))) / 60)
Set Game_Seconds = ((Integer((Elapsed time for Game_Time))) mod 60)
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Game_Seconds Greater than or equal to 10
Collapse Then - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Clock to ((String(Game_Minutes)) + (: + (String(Game_Seconds))))
Collapse Else - Actions
Multiboard - Set the text for (Last created multiboard) item in column 3, row Multiboard_Clock to ((String(Game_Minutes)) + (:0 + (String(Game_Seconds))))

Trigger:
Tally Deaths Copy
Collapse Events
Time - Every 1.00 seconds of game time
Conditions
Collapse Actions
Collapse Unit Group - Pick every unit in RevivableHeroes and do (Actions)
Collapse Loop - Actions
Multiboard - Set the text for (Last created multiboard) item in column 4, row Multiboard_Spots[(Player number of (Owner of (Picked unit)))] to (String(DeadTimer[(Player number of (Owner of (Picked unit)))]))
Set DeadTimer[(Player number of (Owner of (Picked unit)))] = (DeadTimer[(Player number of (Owner of (Picked unit)))] - 1)
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
DeadTimer[(Player number of (Owner of (Picked unit)))] Equal to 0
Collapse Then - Actions
Unit Group - Remove (Picked unit) from RevivableHeroes
Multiboard - Set the text for (Last created multiboard) item in column 4, row Multiboard_Spots[(Player number of (Owner of (Picked unit)))] to No
Else - Actions

Trigger:
Unit enters Game
Collapse Events
Unit - A unit enters (Entire map)
Conditions
Collapse Actions
Unit Group - Add (Last created unit) to allunits

this uses 3 teams and there are a few more options then what you wanted but just change it for how you want if you have any questions just ask also my AIM is botanicvelious