• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Data Multiboard v1.3

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
Thx for yudhistira for help me creating multiboard and hiveworkshop

Data multiboard for count kill , death and level

if you using it for your map give me a credit
[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]


You can see another trigger in the maps

Thanks for downloading :D

Keywords:
multiboard,data,kill,level,death,counting,score
Contents

Data Multiboard v 1.3 (Map)

Reviews
12th Dec 2015 IcemanBo: For long time as NeedsFix. Rejected. 01:21, 10th Jan 2015 IcemanBo: The system is hardcoded. A data multiboard should be customizeable.

Moderator

M

Moderator

12th Dec 2015
IcemanBo: For long time as NeedsFix. Rejected.

01:21, 10th Jan 2015
IcemanBo:

The system is hardcoded. A data multiboard should be customizeable.
 

Deleted member 219079

D

Deleted member 219079

No problem.


Btw, you should hide your rep until you've got to green. People are biased against red rep people.
 
Level 12
Joined
Oct 16, 2010
Messages
680
Delete every single "Do Nothing" line from your script , coz as it says it does nothing but initiates a native call for no reason calls an empty function (thx edo ).

EDIT:

remove: these
  • (Player number of (Owner of (Killing unit))) Greater than or equal to 1
it's always true so pointless

also use (triggering unit) instead of (dying unit) and don't use (last created multiboard) . save it in a variable and use that.
like:
  • Set YourMultiboardVar= Create multiboard....
and always store everything in a Var if used more then once

EDIT:
Why do u use those specific button icons?:/ it's just makes no sense to me
u can leave them out and delete all the "display type" lines and just use this one once
  • Custom script: call MultiboardSetItemsStyle(udg_YourMultiboardVar,true,false)
it sets the display type of ALL the multiboard items so u don't have to set one-by-one

shrink your hero level set trigger like this:
leave this out:D funny
  • ((Leveling Hero) is A Hero) Equal to True
  • 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 TempLvl = (String((Level of (Triggering unit)))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • TempInt Less then 4 (Red)
        • Then - Actions
          • Multiboard - Set the text for YourMultiboardVar item in column 4, row (TempInt+2) to (TempLvl)
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • TempInt Greater then 6 (Red)
            • Then - Actions
              • Multiboard - Set the text for YourMultiboardVar item in column 4, row (TempInt+4) to (TempLvl)
            • Else - Actions
              • Multiboard - Set the text for YourMultiboardVar item in column 4, row (TempInt+3) to (TempLvl)
something similar can be done with total death and kill
and there is still more how this can be optimized, good luck:)
 
Last edited:
Level 29
Joined
Oct 24, 2012
Messages
6,543
Never use an and all condition block unless it is inside an or all condition block.

  • ((Dying 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 (Killing unit))) Greater than or equal to 1
  • (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
    • And - All (Conditions) are true
      • Conditions
        • (Unit-type of (Dying unit)) Not equal to
        • (Unit-type of (Dying unit)) Not equal to
        • (Unit-type of (Dying unit)) Not equal to
        • (Unit-type of (Dying unit)) Not equal to
        • (Unit-type of (Dying unit)) Not equal to
        • (Unit-type of (Dying unit)) Not equal to
Anything used twice or more should be stored in a variable and the variable should be used.

Never use integer A / B. Make a custom integer and use that for your looping. Integer A / B are less efficient and slower than a custom integer.

You will need to make this more configurable. I don't see this being approved in its current state. It will be to hard to modify for someones map.
 
Level 29
Joined
Oct 24, 2012
Messages
6,543
This can be removed as it does nothing.
  • -------- Multiboard Custom Integer --------
  • Set MultiboardCustomInteger = (Integer A)
Never use Dying unit use triggering unit instead.

Anything used twice or more should be stored into a variable and the variable should be used. Example: store triggering unit into a temp variable and use that.

You should look at your Acumulation Kill And Sound trigger. You check if the player number is less than or equal to 9. In the then block of that ITE you have an ITE that check if the number is 10 / 11 / 12 which will never be true.

Also you make the sound trigger more efficient like this.

  • 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
    • Actions
      • Set tempPlayer = (Owner of (Killing unit))
      • Set tempInt = (Player number of tempPlayer)
      • Game - Display to (All players) the text: ((|c001ce6b9 + ((Name of tempPlayer) + |r)) + ( |cff9C00B4has just pawned|r |cffFEFFD7 + ((Name of Triggering player) + <Empty String>)))
      • Set Sound1[tempInt] = (Sound1[tempInt] + 1)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Sound1 Less than or equal to 15
        • Then - Actions
          • Sound - Play Music[Sound1[tempInt]]
        • Else - Actions
          • Sound - Play Music[Sound1[tempInt]]
      • Set Sound1[(Player number of Triggering player)] = 1
The other triggers can be made more efficient like the above.

Also a Multiboard called Multiboard is to common of a name and must be changed.
 
Level 12
Joined
Oct 16, 2010
Messages
680
these are all the same no difference in actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Owner of (Killing unit)) Equal to Player 4 (Purple)
    • Then - Actions
      • Multiboard - Set the text for Multiboard item in column 2, row 6 to (String(GlobalKills[2]))
    • Else - Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Owner of (Killing unit)) Equal to Player 5 (Yellow)
    • Then - Actions
      • Multiboard - Set the text for Multiboard item in column 2, row 6 to (String(GlobalKills[2]))
    • Else - Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Owner of (Killing unit)) Equal to Player 6 (Orange)
    • Then - Actions
      • Multiboard - Set the text for Multiboard item in column 2, row 6 to (String(GlobalKills[2]))
    • Else - Actions
just do
  • Multiboard - Set the text for Multiboard item in column 2, row 2 to (String(GlobalDeath[1]))
  • Multiboard - Set the text for Multiboard item in column 2, row 6 to (String(GlobalDeath[2]))
  • Multiboard - Set the text for Multiboard item in column 2, row 10 to (String(GlobalDeath[3]))
same for total kill

EDIT: I see u added the custm script line so u can remove these lines
  • Multiboard - Set the display style for Multiboard item in column x, row y to Show text and Hide icons
all of it
 
Top