Advanced Multiboard - Rep +

MaaxeEvid

New Member
Reaction score
8
Hello The Helper. Im here to make a code question.

Im making a map, and i wanna it have a multiboard like dota.

The multiboard should look like this:

Player | Dead? | Kills | Deaths

and below, the propper values, i want do know, if someone can make a code to me . + REP for who does it <3 <3
 
I

IKilledKEnny

Guest
This will be a very long trigger, try to learn MultiBoards yourself instead of asking someone else to do it. There are few great tutorials about multiboards, the best one is by andrewgosu's, use search button.
 

substance

New Member
Reaction score
34
This will be a very long trigger, try to learn MultiBoards yourself instead of asking someone else to do it. There are few great tutorials about multiboards, the best one is by andrewgosu's, use search button.

agreed, there's plenty of multiboard tutorials out there.
 

SerraAvenger

Cuz I can
Reaction score
234
I've made it anyway...
So replace all instances with yours.

This is for two 5 player teams
with one computer player each.
It shows
Player | Kills | Deaths | Flags homed
Kills and deaths only count from Heroes to Heroes
So creeps killiong your Hero won't count

JASS:

Leaderboard
    Ereignisse
        Zeit - Elapsed game time is 1.00 seconds
    Bedingungen
    Aktionen
        Multiboard - Create a multiboard with 4 columns and 13 rows, titled Kills and Flags
        Multiboard - Set the color for (Last created multiboard) item in column 0, row 0 to (100.00%, 80.00%, 20.00%) with 40.00% transparency
        Multiboard - Set the icon for (Last created multiboard) item in column 2, row 0 to ReplaceableTextures\CommandButtons\BTNImpale.blp
        Multiboard - Set the icon for (Last created multiboard) item in column 3, row 0 to ReplaceableTextures\CommandButtons\BTNOrbOfCorruption.blp
        Multiboard - Set the icon for (Last created multiboard) item in column 4, row 0 to ReplaceableTextures\CommandButtons\BTNOrcBattleStandard.blp
        Multiboard - Set the icon for (Last created multiboard) item in column 1, row 0 to ReplaceableTextures\CommandButtons\BTNAltarOfElders.blp
        Multiboard - Set the width for (Last created multiboard) item in column 0, row 0 to 4.00% of the total screen width
        Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 8.00% of the total screen width
        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 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 Flags
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Orcs:
        Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to Humans:
        Multiboard - Set the display style for (Last created multiboard) item in column 0, row 1 to Zeigen text and Verbergen icons
        For each (Integer A) from 1 to 12, do (Actions)
            Schleifen - Aktionen
                Multiboard - Set the text for (Last created multiboard) item in column 2, row ((Integer A) + 1) to (String(Kills[((Integer A) - 1)]))
                Multiboard - Set the text for (Last created multiboard) item in column 3, row ((Integer A) + 1) to (String(Deaths[((Integer A) - 1)]))
                Multiboard - Set the text for (Last created multiboard) item in column 4, row ((Integer A) + 1) to (String(Flags[((Integer A) - 1)]))
        For each (Integer A) from 1 to 5, do (Actions)
            Schleifen - Aktionen
                Multiboard - Set the text for (Last created multiboard) item in column 1, row ((Integer A) + 2) to (Name of (Player(((Integer A) + 5))))
                Multiboard - Set the text for (Last created multiboard) item in column 1, row ((Integer A) + 8) to (Name of (Player((Integer A))))
        Multiboard - Minimieren (Last created multiboard)
        Multiboard - Maximieren (Last created multiboard)
        Schwebender Text - Create floating text that reads Random Portal at (Position of Portal 0028 &lt;gen&gt;) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
        Schwebender Text - Create floating text that reads Random Portal at (Position of Portal 0026 &lt;gen&gt;) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
        Schwebender Text - Create floating text that reads Random Portal at (Position of Portal 0029 &lt;gen&gt;) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
        Schwebender Text - Create floating text that reads Random Portal at (Position of Portal 0030 &lt;gen&gt;) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
        Schwebender Text - Create floating text that reads Random Portal at (Position of Portal 0031 &lt;gen&gt;) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
        Schwebender Text - Create floating text that reads Random Portal at (Position of Portal 0038 &lt;gen&gt;) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
        Schwebender Text - Create floating text that reads Random Portal at (Position of Portal 0039 &lt;gen&gt;) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
        Schwebender Text - Create floating text that reads Random Portal at (Position of Portal 0040 &lt;gen&gt;) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 20.00% transparency
        Auslöser - Turn off (This trigger)
JASS:

kills
    Ereignisse
        Einheit - A unit Stirbt
    Bedingungen
        (((Killing unit) is Ein Held) Gleich True) and (((Dying unit) is Ein Held) Gleich True)
    Aktionen
        Set Kills[((Player number of (Owner of (Killing unit))) x 1)] = (Kills[((Player number of (Owner of (Killing unit))) x 1)] + 1)
        Set Deaths[((Player number of (Owner of (Dying unit))) x 1)] = (Deaths[((Player number of (Owner of (Dying unit))) x 1)] + 1)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            &#039;IF&#039;-Bedingungen
                Kills[((Player number of (Owner of (Killing unit))) x 1)] Größer gleich (Deaths[((Player number of (Owner of (Killing unit))) x 1)] x 3)
                Kills[((Player number of (Owner of (Killing unit))) x 1)] Kleiner als (Deaths[((Player number of (Owner of (Killing unit))) x 1)] x 5)
            &#039;THEN&#039;-Aktionen
                Spiel - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + is a Killer!)
                Spieler - Add 25 to (Owner of (Dying unit)) Aktuelles Gold
            &#039;ELSE&#039;-Aktionen
                If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                    &#039;IF&#039;-Bedingungen
                        Kills[((Player number of (Owner of (Killing unit))) x 1)] Größer gleich (Deaths[((Player number of (Owner of (Killing unit))) x 1)] x 5)
                        Kills[((Player number of (Owner of (Killing unit))) x 1)] Kleiner als (Deaths[((Player number of (Owner of (Killing unit))) x 1)] x 7)
                    &#039;THEN&#039;-Aktionen
                        Spiel - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + is a Devastour!)
                        Spieler - Add 50 to (Owner of (Dying unit)) Aktuelles Gold
                    &#039;ELSE&#039;-Aktionen
                        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                            &#039;IF&#039;-Bedingungen
                                Kills[((Player number of (Owner of (Killing unit))) x 1)] Größer gleich (Deaths[((Player number of (Owner of (Killing unit))) x 1)] x 5)
                                Kills[((Player number of (Owner of (Killing unit))) x 1)] Größer als (Deaths[((Player number of (Owner of (Killing unit))) x 1)] + 1)
                            &#039;THEN&#039;-Aktionen
                                Spiel - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + is DOMINATING!)
                                Spieler - Add 100 to (Owner of (Dying unit)) Aktuelles Gold
                            &#039;ELSE&#039;-Aktionen
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            &#039;IF&#039;-Bedingungen
                (Race of (Owner of (Killing unit))) Gleich Mensch
            &#039;THEN&#039;-Aktionen
                Multiboard - Set the text for (Last created multiboard) item in column 2, row ((Player number of (Owner of (Killing unit))) + 8) to (String(Kills[((Player number of (Owner of (Killing unit))) x 1)]))
                Multiboard - Set the text for (Last created multiboard) item in column 3, row ((Player number of (Owner of (Dying unit))) - 3) to (String(Deaths[((Player number of (Owner of (Dying unit))) x 1)]))
                Set Kills[10] = (Kills[10] + 1)
                Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (String(Kills[10]))
                Set Deaths[11] = (Deaths[11] + 1)
                Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to (String(Deaths[11]))
            &#039;ELSE&#039;-Aktionen
                Multiboard - Set the text for (Last created multiboard) item in column 3, row ((Player number of (Owner of (Dying unit))) + 8) to (String(Deaths[((Player number of (Owner of (Dying unit))) x 1)]))
                Multiboard - Set the text for (Last created multiboard) item in column 2, row ((Player number of (Owner of (Killing unit))) - 3) to (String(Kills[((Player number of (Owner of (Killing unit))) x 1)]))
                Set Kills[11] = (Kills[11] + 1)
                Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (String(Kills[11]))
                Set Deaths[10] = (Deaths[10] + 1)
                Multiboard - Set the text for (Last created multiboard) item in column 3, row 8 to (String(Deaths[10]))
 

johnnyfire

New Member
Reaction score
8
DL the dota template on this site and you should get exactly what you want from the multiboard triggers in it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top