request multiboard

Novi

New Member
Reaction score
0
i have been search and read all tutorials but it so hard and i want to request multiboard like this :))


================= Kills ======== Death
Team 1 = Player 6
Player 1 = user
Player 2 = user
Player 3 = user
Player 4 = user
Player 5 = user
Team 2 = Player 12
Player 7 = user
Player 8 = user
Player 9 = user
Player 10 = user
Player 11 = user
kill to wins : example 100
Time elapsed : example 00:20 Seconds !!!
 

Inflicted

Currently inactive
Reaction score
63
Use the Search function, there are many questions like this.
Otherwise use the sample one in the DOTA Template on the left
<--------------
Otherwise if none of these help, I can make one for you later.
 

Inflicted

Currently inactive
Reaction score
63
lol yw, seems you are pleased with the solution you found? Or would you like an example/demo code/map?
 

Inflicted

Currently inactive
Reaction score
63
Sorry I would have posted it sooner, I finished it yesterday morning. But when I logged into TH, i was that giant SOPA sign -.-

Code Removed. Better version below.
 

Attachments

  • Multiboard Demo.w3x
    14.2 KB · Views: 202

Inflicted

Currently inactive
Reaction score
63
I have made a second Multiboard demo map, with kills added. Simple and easy to use, easy to alter. Commented completely.
You may use this map however you want, you may give credit. You do not need to.

Code Removed. Better version below.
 

Attachments

  • Multiboard Demo.w3x
    17.7 KB · Views: 225

Novi

New Member
Reaction score
0
yehey thank you hehehehhe thank you !!!! MAraming Salamat in Tagalog hahaha :))
 

Inflicted

Currently inactive
Reaction score
63
Most welcome.
I am creating one with a Death display aswel right now.
There are many questions of basic Multiboards, having a demo map is good to have.
I will post it below when I have finished it.

edit

Finished it, use this. It suits your map better:

Trigger:
  • Kills and Deaths
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • -------- Create the Multiboard with 3 Columns and 15 Rows --------
      • Multiboard - Create a multiboard with 3 columns and 15 rows, titled - - Player Scorebo...
      • -------- Set the format of the Multiboard --------
      • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 1 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 1 to Show text and Hide icons
      • For each (Integer A) from 1 to 15, do (Actions)
        • Loop - Actions
          • -------- For Loop, allows many functions to be done with less lines of code - This For Loop will run 14 times --------
          • -------- One is able to set the display of the Multiboard, showing or hidding icons next to the Text - For this demo, icons are not shown --------
          • Multiboard - Set the display style for (Last created multiboard) item in column 1, row (Integer A) to Show text and Hide icons
          • Multiboard - Set the display style for (Last created multiboard) item in column 2, row (Integer A) to Show text and Hide icons
          • Multiboard - Set the display style for (Last created multiboard) item in column 3, row (Integer A) to Show text and Hide icons
          • -------- Using this line to set the width of each column in the Multiboard --------
          • Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 8.00% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 1.50% of the total screen width
          • Multiboard - Set the width for (Last created multiboard) item in column 3, row (Integer A) to 1.50% of the total screen width
          • -------- The For Loop Integer A command goes with the For Loop, can only be used inside one. It takes the current count, allowing multiple actions do be done more efficiently --------
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Players
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to K
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to D
      • -------- Set the text of the teams --------
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to Team 1 - Player 11
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to Team 2 - Player 12
      • -------- Set the default score --------
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to 0
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to 0
      • -------- Set the text of players in team 1 --------
      • For each (Integer A) from 3 to 7, do (Actions)
        • Loop - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to (PlayerColors[((Integer A) - 2)] + (Name of (Player(((Integer A) - 2)))))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to 0
      • -------- Set the text of players in team 1 --------
      • For each (Integer A) from 9 to 13, do (Actions)
        • Loop - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to (PlayerColors[((Integer A) - 3)] + (Name of (Player(((Integer A) - 3)))))
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to 0
      • -------- Set names --------
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 14 to Kills to win:
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 15 to Time Elapsed:
      • -------- Set the default numbers --------
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 14 to (String(KillLimit))
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 15 to 0
      • -------- Set the width of Row 14+15 --------
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 14 to 2.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 15 to 2.00% of the total screen width

Trigger:
  • Update Multiboard 2
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • -------- Clock Settings --------
      • -------- Increase Seconds --------
      • Set Seconds = (Seconds + 1)
      • -------- Increase Minutes --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Seconds Equal to 60
        • Then - Actions
          • -------- Set seconds to 0 when minute increased --------
          • Set Seconds = 0
          • Set Minutes = (Minutes + 1)
        • Else - Actions
      • -------- Display 0 infront when number is below 10 --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Seconds Less than 10
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 15 to (((String(Minutes)) + :0) + (String(Seconds)))
        • Else - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 15 to (((String(Minutes)) + <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> + (String(Seconds)))
      • -------- Display Team 1 Kills --------
      • For each (Integer A) from 3 to 7, do (Actions)
        • Loop - Actions
          • -------- Setting each players kills --------
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to (String(Kills[((Integer A) - 2)]))
          • -------- Setting each players deaths --------
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row (Integer A) to (String(Deaths[((Integer A) - 2)]))
      • -------- Display Team 2 Kills --------
      • For each (Integer A) from 9 to 13, do (Actions)
        • Loop - Actions
          • -------- Setting each players kills --------
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to (String(Kills[((Integer A) - 3)]))
          • -------- Setting each players deaths --------
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row (Integer A) to (String(Deaths[((Integer A) - 3)]))
      • -------- Setting team total kills --------
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (String(Team_Kills[1]))
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (String(Team_Kills[2]))
      • -------- Setting team total deaths --------
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to (String(Team_Deaths[1]))
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 8 to (String(Team_Deaths[2]))

Trigger:
  • Kill system
    • Events
      • Unit - A unit Dies
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • ((Owner of (Killing unit)) controller) Equal to User
          • ((Owner of (Dying unit)) controller) Equal to User
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Killing unit)) controller) Equal to User
        • Then - Actions
          • -------- Increase amount of kills, every time an enemy dies --------
          • Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
          • -------- Keeps team totals --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Killing unit) belongs to an ally of Player 11 (Dark Green)) Equal to True
            • Then - Actions
              • Set Team_Kills[1] = (Team_Kills[1] + 1)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Killing unit) belongs to an ally of Player 12 (Brown)) Equal to True
            • Then - Actions
              • Set Team_Kills[1] = (Team_Kills[1] + 1)
            • Else - Actions
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Owner of (Dying unit)) controller) Equal to User
        • Then - Actions
          • -------- Increase amount of deaths, every time a player dies --------
          • Set Deaths[(Player number of (Owner of (Dying unit)))] = (Deaths[(Player number of (Owner of (Dying unit)))] + 1)
          • -------- Keeps team totals --------
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Dying unit) belongs to an ally of Player 11 (Dark Green)) Equal to True
            • Then - Actions
              • Set Team_Deaths[1] = (Team_Deaths[1] + 1)
            • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Dying unit) belongs to an ally of Player 12 (Brown)) Equal to True
            • Then - Actions
              • Set Team_Deaths[2] = (Team_Deaths[2] + 1)
            • Else - Actions
        • Else - Actions
      • -------- This is updated on the Multiboard --------
      • Skip remaining actions
      • -------- Only Enemy Hero kills: --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is A Hero) Equal to True
          • ((Killing unit) is A Hero) Equal to True
        • Then - Actions
          • -------- Copy these line into the initial Conditions --------
        • Else - Actions



Variables:
Kill Limit - Integer (Initial 100)
Minutes - Integer (Initial 0)
Seconds - Integer (Initial 0)
Kills - Integer Array [12] (Initial 0)
Deaths - Integer Array [12] (Initial 0)
Team_Kills - Integer Array [2] (Initial 0)
Team_Deaths - Integer Array [2] (Initial 0)
PlayerColors - String [12] (Initial '-None-')


This is preferred to the previous 2 maps.
Download below:
 

Attachments

  • Multiboard Demo.w3x
    22.9 KB · Views: 213

Novi

New Member
Reaction score
0
i have a request again :)) hehehe can you make a command example: -25, -50, -100, 150, and infinite to make kills to win and show it on multiboard? hehe Thanks
 

Inflicted

Currently inactive
Reaction score
63
sure

Trigger:
  • Set kill limit
    • Events
      • Player - Player 1 (Red) types a chat message containing - as A substring
    • Conditions
    • Actions
      • -------- Checks that the Player 1 has entered the text, and that it starts with &#039;-&#039; --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Integer((Substring((Entered chat string), 2, (Length of (Entered chat string)))))) Greater than 0
        • Then - Actions
          • -------- Checks that the kill limit is greater than 0 --------
          • Set KillLimit = (Integer((Substring((Entered chat string), 2, (Length of (Entered chat string))))))
          • -------- Sets the limit to the entered amount --------
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 14 to (String(KillLimit))
          • -------- Changes the Multiboard info --------
        • Else - Actions


Add a condition like, Minutes Equal to 0 if you want the max score only settable during the first minute for example.

The kill limit is stored in a variable called KillLimit.
This can be used to check when the limit is reached.

Download below:
 

Attachments

  • Multiboard Demo.w3x
    23.6 KB · Views: 210
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