[trigger=Multiboard Create]Multiboard Create
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Set MultiReady = 1
Multiboard - Create a multiboard with 4 columns and 13 rows, titled |c00ff0303Data Cent...
-------- MultiboardVar --------
Set Multiboard = (Last created multiboard)
Custom script: call MultiboardSetItemsStyle(udg_Multiboard,true,false)
-------- Multiboard Custom Integer --------
Set MultiboardCustomInteger = (Integer A)
-------- Set The 1 Icon Here --------
Set MultiboardIcon[1] = ReplaceableTextures\CommandButtons\BTNVillagerMan.blp
-------- Set The 2 Icon Here --------
Set MultiboardIcon[2] = ReplaceableTextures\CommandButtons\BTNElfVillager.blp
-------- Set The 3 Icon Here --------
Set MultiboardIcon[3] = ReplaceableTextures\CommandButtons\BTNHire.blp
For each (Integer MultiboardCustomInteger) from 1 to 3, do (Actions)
Loop - Actions
Multiboard - Set the text for Multiboard item in column 1, row 1 to |cffffcc00Names|r
Multiboard - Set the width for Multiboard item in column 1, row 1 to 15.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 3, do (Actions)
Loop - Actions
Multiboard - Set the text for Multiboard item in column 2, row 1 to |cffff0000K|r
Multiboard - Set the width for Multiboard item in column 2, row 1 to 3.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 3, do (Actions)
Loop - Actions
Multiboard - Set the text for Multiboard item in column 3, row 1 to |cffff0000D|r
Multiboard - Set the width for Multiboard item in column 3, row 1 to 3.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 3, do (Actions)
Loop - Actions
Multiboard - Set the text for Multiboard item in column 4, row 1 to |cff32cd32Lvl|r
Multiboard - Set the width for Multiboard item in column 4, row 1 to 3.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 3, do (Actions)
Loop - Actions
Multiboard - Set the text for Multiboard item in column 5, row 1 to |cff32cd32Chip (%)|...
Multiboard - Set the width for Multiboard item in column 5, row 1 to 6.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 3, do (Actions)
Loop - Actions
Multiboard - Set the display style for Multiboard item in column 1, row 2 to Show text and Show icons
-------- Set the name of kill,death total name here (race 1) --------
Multiboard - Set the text for Multiboard item in column 1, row 2 to |cff316ac5Human
-------- set the icon for race 1 total --------
Multiboard - Set the icon for Multiboard item in column 1, row 2 to MultiboardIcon[1]
Multiboard - Set the width for Multiboard item in column 1, row 2 to 15.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 7, do (Actions)
Loop - Actions
Multiboard - Set the display style for Multiboard item in column 1, row 3 to Show text and Show icons
-------- set the name of player 1 here --------
Multiboard - Set the text for Multiboard item in column 1, row 3 to (|cffff0000 + (Name of Player 1 (Red)))
-------- Set the icon for player 1 --------
Multiboard - Set the icon for Multiboard item in column 1, row 3 to MultiboardIcon[1]
Multiboard - Set the width for Multiboard item in column 1, row 3 to 15.00% of the total screen width
Multiboard - Set the display style for Multiboard item in column 1, row 4 to Show text and Show icons
-------- set the name of player 2 here --------
Multiboard - Set the text for Multiboard item in column 1, row 4 to (|cff0000ff + (Name of Player 2 (Blue)))
-------- Set the icon for player 2 --------
Multiboard - Set the icon for Multiboard item in column 1, row 4 to MultiboardIcon[1]
Multiboard - Set the width for Multiboard item in column 1, row 4 to 15.00% of the total screen width
Multiboard - Set the display style for Multiboard item in column 1, row 5 to Show text and Show icons
-------- set the name of player 3 here --------
Multiboard - Set the text for Multiboard item in column 1, row 5 to (|cff008080 + (Name of Player 3 (Teal)))
-------- Set the icon for player 3 --------
Multiboard - Set the icon for Multiboard item in column 1, row 5 to MultiboardIcon[1]
Multiboard - Set the width for Multiboard item in column 1, row 5 to 15.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 3, do (Actions)
Loop - Actions
Multiboard - Set the display style for Multiboard item in column 1, row 6 to Show text and Show icons
-------- Set the name of kill,death total name here (race 2) --------
Multiboard - Set the text for Multiboard item in column 1, row 6 to |cff006400Night Elf...
-------- set the icon for race 2 total --------
Multiboard - Set the icon for Multiboard item in column 1, row 6 to MultiboardIcon[2]
Multiboard - Set the width for Multiboard item in column 1, row 6 to 15.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 7, do (Actions)
Loop - Actions
Multiboard - Set the display style for Multiboard item in column 1, row 7 to Show text and Show icons
-------- set the name of player 4 here --------
Multiboard - Set the text for Multiboard item in column 1, row 7 to (|cff800080 + (Name of Player 4 (Purple)))
-------- Set the icon for player 4 --------
Multiboard - Set the icon for Multiboard item in column 1, row 7 to MultiboardIcon[2]
Multiboard - Set the width for Multiboard item in column 1, row 7 to 15.00% of the total screen width
Multiboard - Set the display style for Multiboard item in column 1, row 8 to Show text and Show icons
-------- set the name of player 5 here --------
Multiboard - Set the text for Multiboard item in column 1, row 8 to (|cffffff00 + (Name of Player 5 (Yellow)))
-------- Set the icon for player 5 --------
Multiboard - Set the icon for Multiboard item in column 1, row 8 to MultiboardIcon[2]
Multiboard - Set the width for Multiboard item in column 1, row 8 to 15.00% of the total screen width
Multiboard - Set the display style for Multiboard item in column 1, row 9 to Show text and Show icons
-------- set the name of player 6 here --------
Multiboard - Set the text for Multiboard item in column 1, row 9 to (|cffffa500 + (Name of Player 6 (Orange)))
-------- Set the icon for player 6 --------
Multiboard - Set the icon for Multiboard item in column 1, row 9 to MultiboardIcon[2]
Multiboard - Set the width for Multiboard item in column 1, row 9 to 15.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 3, do (Actions)
Loop - Actions
Multiboard - Set the display style for Multiboard item in column 1, row 10 to Show text and Show icons
-------- Set the name of kill,death total name here (race 3) --------
Multiboard - Set the text for Multiboard item in column 1, row 10 to |cff006400Undead
-------- Set the icon --------
Multiboard - Set the icon for Multiboard item in column 1, row 10 to MultiboardIcon[3]
Multiboard - Set the width for Multiboard item in column 1, row 10 to 15.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 7, do (Actions)
Loop - Actions
Multiboard - Set the display style for Multiboard item in column 1, row 11 to Show text and Show icons
-------- Set The name of Player 7 --------
Multiboard - Set the text for Multiboard item in column 1, row 11 to (|cff7cfc00 + (Name of Player 7 (Green)))
-------- Set the icon for player 7 --------
Multiboard - Set the icon for Multiboard item in column 1, row 11 to MultiboardIcon[3]
Multiboard - Set the width for Multiboard item in column 1, row 11 to 15.00% of the total screen width
Multiboard - Set the display style for Multiboard item in column 1, row 12 to Show text and Show icons
-------- Set The name of Player 8 --------
Multiboard - Set the text for Multiboard item in column 1, row 12 to (|cffffc0cb + (Name of Player 8 (Pink)))
-------- Set the icon for player 8 --------
Multiboard - Set the icon for Multiboard item in column 1, row 12 to MultiboardIcon[3]
Multiboard - Set the width for Multiboard item in column 1, row 12 to 15.00% of the total screen width
Multiboard - Set the display style for Multiboard item in column 1, row 13 to Show text and Show icons
-------- Set The name of Player 9 --------
Multiboard - Set the text for Multiboard item in column 1, row 13 to (|cffaca899 + (Name of Player 9 (Gray)))
-------- Set the icon for player 9 --------
Multiboard - Set the icon for Multiboard item in column 1, row 13 to MultiboardIcon[3]
Multiboard - Set the width for Multiboard item in column 1, row 13 to 15.00% of the total screen width
For each (Integer MultiboardCustomInteger) from 1 to 7, do (Actions)
Loop - Actions
Multiboard - Set the width for Multiboard item in column 2, row 2 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 2 to 0
Multiboard - Set the width for Multiboard item in column 2, row 6 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 6 to 0
Multiboard - Set the width for Multiboard item in column 2, row 10 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 10 to 0
Multiboard - Set the width for Multiboard item in column 2, row 3 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 3 to 0
Multiboard - Set the width for Multiboard item in column 2, row 4 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 4 to 0
Multiboard - Set the width for Multiboard item in column 2, row 5 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 5 to 0
Multiboard - Set the width for Multiboard item in column 2, row 7 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 7 to 0
Multiboard - Set the width for Multiboard item in column 2, row 8 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 8 to 0
Multiboard - Set the width for Multiboard item in column 2, row 9 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 9 to 0
Multiboard - Set the width for Multiboard item in column 2, row 11 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 11 to 0
Multiboard - Set the width for Multiboard item in column 2, row 12 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 12 to 0
Multiboard - Set the width for Multiboard item in column 2, row 13 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row 13 to 0
Multiboard - Set the width for Multiboard item in column 4, row 2 to 5.00% of the total screen width
Multiboard - Set the width for Multiboard item in column 4, row 6 to 5.00% of the total screen width
Multiboard - Set the width for Multiboard item in column 4, row 10 to 5.00% of the total screen width
Multiboard - Set the width for Multiboard item in column 4, row 3 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 3 to (String((Integer(P1lvl))))
Multiboard - Set the width for Multiboard item in column 4, row 4 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 4 to (String((Integer(P2lvl))))
Multiboard - Set the width for Multiboard item in column 4, row 5 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 5 to (String((Integer(P3lvl))))
Multiboard - Set the width for Multiboard item in column 4, row 7 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 7 to (String((Integer(P4lvl))))
Multiboard - Set the width for Multiboard item in column 4, row 8 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 8 to (String((Integer(P5lvl))))
Multiboard - Set the width for Multiboard item in column 4, row 9 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 9 to (String((Integer(P6lvl))))
Multiboard - Set the width for Multiboard item in column 4, row 11 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 11 to (String((Integer(P7lvl))))
Multiboard - Set the width for Multiboard item in column 4, row 12 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 12 to (String((Integer(P8lvl))))
Multiboard - Set the width for Multiboard item in column 4, row 13 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 4, row 13 to (String((Integer(P9lvl))))
Multiboard - Set the width for Multiboard item in column 3, row 2 to 5.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 2 to 0
Multiboard - Set the width for Multiboard item in column 3, row 6 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 6 to 0
Multiboard - Set the width for Multiboard item in column 3, row 10 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 10 to 0
Multiboard - Set the width for Multiboard item in column 3, row 3 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 3 to 0
Multiboard - Set the width for Multiboard item in column 3, row 4 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 4 to 0
Multiboard - Set the width for Multiboard item in column 3, row 5 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 5 to 0
Multiboard - Set the width for Multiboard item in column 3, row 7 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 7 to 0
Multiboard - Set the width for Multiboard item in column 3, row 8 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 8 to 0
Multiboard - Set the width for Multiboard item in column 3, row 9 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 9 to 0
Multiboard - Set the width for Multiboard item in column 3, row 11 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 11 to 0
Multiboard - Set the width for Multiboard item in column 3, row 12 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 12 to 0
Multiboard - Set the width for Multiboard item in column 3, row 13 to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row 13 to 0
Multiboard - Show Multiboard
[/trigger]
[trigger=kill update]Hero Kill Update
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
(Player number of (Owner of (Killing unit))) Less than or equal to 9
(Player number of (Owner of (Dying unit))) Less than or equal to 12
(Player number of (Owner of (Dying unit))) Greater than or equal to 1
Actions
Set i = (Player number of (Owner of (Killing unit)))
Set cntKills = (cntKills + 1)
Multiboard - Set the width for Multiboard item in column 2, row PlayerRow to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 2, row PlayerRow to (String(cntKills))
Multiboard - Set the display style for Multiboard item in column 2, row PlayerRow to Show text and Hide icons
[/trigger]
[trigger=death update]Hero Death Update
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
(Player number of (Owner of (Triggering unit))) Less than or equal to 9
Actions
Set i = (Player number of (Owner of (Dying unit)))
Set cntDeaths = (cntDeaths + 1)
Multiboard - Set the width for Multiboard item in column 3, row PlayerRow to 3.00% of the total screen width
Multiboard - Set the text for Multiboard item in column 3, row PlayerRow to (String(cntDeaths))
Multiboard - Set the display style for Multiboard item in column 3, row PlayerRow to Show text and Hide icons
[/trigger]
[trigger=level update]Hero Level update
Events
Unit - A unit Gains a level
Conditions
(Player number of (Owner of (Leveling Hero))) Less than or equal to 9
Actions
Set TempInt = (Player number of (Owner of (Triggering unit)))
Set TempLevel = (String((Level of (Triggering unit))))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempInt Less than 4
Then - Actions
Multiboard - Set the text for Multiboard item in column 4, row PlayerRow[TempInt] to TempLevel
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
TempInt Greater than 6
Then - Actions
Multiboard - Set the text for Multiboard item in column 4, row PlayerRow[TempInt] to TempLevel
Else - Actions
Multiboard - Set the text for Multiboard item in column 4, row PlayerRow[TempInt] to TempLevel
[/trigger]
[trigger=acumulation kill and sound]Acumulation Kill And Sound
Events
Unit - A unit owned by Player 1 (Red) Dies
Unit - A unit owned by Player 2 (Blue) Dies
Unit - A unit owned by Player 3 (Teal) Dies
Unit - A unit owned by Player 4 (Purple) Dies
Unit - A unit owned by Player 5 (Yellow) Dies
Unit - A unit owned by Player 6 (Orange) Dies
Unit - A unit owned by Player 7 (Green) Dies
Unit - A unit owned by Player 8 (Pink) Dies
Unit - A unit owned by Player 9 (Gray) Dies
Unit - A unit owned by Player 10 (Light Blue) Dies
Unit - A unit owned by Player 11 (Dark Green) Dies
Unit - A unit owned by Player 12 (Brown) Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Or - Any (Conditions) are true
Conditions
(Player number of (Owner of (Dying unit))) Less than or equal to 9
Actions
Game - Display to (All players) the text: ((|c001ce6b9 + ((Name of (Owner of (Killing unit))) + |r)) + ( |cff9C00B4has just pawned|r |cffFEFFD7 + ((Name of (Owner of (Dying unit))) + <Empty String>)))
Set tempplayer = (Owner of (Killing unit))
Set TempInt = (Player number of tempplayer)
Set Sound1[TempInt] = (Sound1[TempInt] + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Sound1[TempInt] Less than or equal to 3
Then - Actions
Sound - Play Musik[Sound1[TempInt]]
Else - Actions
Set Sound1[(Player number of (Triggering player))] = 1
[/trigger]