Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

All About Multiboards

Discussion in 'General Mapping Tutorials' started by inverted, May 29, 2008.

  1. ChildeRoland

    ChildeRoland

    Joined:
    Apr 28, 2008
    Messages:
    41
    Resources:
    1
    Maps:
    1
    Resources:
    1
  2. CRAZY-PENGUIN

    CRAZY-PENGUIN

    Joined:
    Aug 7, 2008
    Messages:
    114
    Resources:
    0
    Resources:
    0
    Someone help with a thing ? I need a multiboard with Boss Life...But the multiboard have to show to all players...the boss have to be Brown. I tried it Once but didnt work well... im fckd...
    So can someone help me ?
    thanks,
     
  3. Vercas

    Vercas

    Joined:
    Dec 9, 2007
    Messages:
    2,604
    Resources:
    1
    Spells:
    1
    Resources:
    1
    You should add a tutorial for how to make a multiboard menu ; how to fit both, stats multiboard and menu multiboard in 1 multiboard ; create simple multiboard function ; restriction for menu selecting rows/collumns etc.
    How to create a multiboard bar...
    Etc.
     
  4. mrshmugles

    mrshmugles

    Joined:
    Nov 14, 2008
    Messages:
    24
    Resources:
    0
    Resources:
    0
    hey im having trouble with ur color code things i cnt figuer out the code for teal,gray, or light blue
     
  5. Vercas

    Vercas

    Joined:
    Dec 9, 2007
    Messages:
    2,604
    Resources:
    1
    Spells:
    1
    Resources:
    1
    Then use the Color Picker tool for finding the correct color code...
     
  6. lukaslucznik

    lukaslucznik

    Joined:
    Mar 27, 2008
    Messages:
    9
    Resources:
    0
    Resources:
    0
    nice tutorial, but i dont know where i can find PlayerColors[(Integer A)]
     
  7. Ss-4-Goku

    Ss-4-Goku

    Joined:
    Mar 22, 2008
    Messages:
    128
    Resources:
    0
    Resources:
    0
    Awesome tutorial. I just need help in one part. How to make

    Set PlayerKills = (Player number of (Owner of (Killing unit))) = (PlayerKills(Player number of (Owner of killing unit))) + 1
    and
    Set the text for (Last created multiboard) item in column 2, row 2 to (String(PlayerKills(Player number of(Owner of (Killing unit)))))
    Help much appreciated.
     
  8. thevanquisher

    thevanquisher

    Joined:
    Mar 19, 2008
    Messages:
    18
    Resources:
    0
    Resources:
    0
    yea i need help with that too...
     
  9. deathdoorway

    deathdoorway

    Joined:
    Apr 13, 2005
    Messages:
    621
    Resources:
    1
    Maps:
    1
    Resources:
    1
    I will help you guys in this by breaking it down


    PlayerColors[(Integer A)]
    Playercolors is an variable that is (player color) So first you have to make a variable and name it w.e u wish. Then go to variable type and look for player color. Once that is set you have to 1. set up what integer a numbers will be then use Set (name of variable) = (name of variable)[For loop integer A] *should be in functions right under the first one named arithmetic
    --------------------------------------------------------
    Set PlayerKills = (Player number of (Owner of (Killing unit))) = (PlayerKills(Player number of (Owner of killing unit))) + 1

    This one is more drawn out. Make a variable named "playerkills" and the type will be an integer ALSO make it an array and set it to 1. the other varible name "killing unit". Now make a trigger that is "set variable" *set playerkills[Look for *Player - player number] now click the triggering player and put owner of unit and replace *unit* with killing unit. the next part will have = after so this will be the stored stuff. now use arithmetic and for the first one you want to imput the variable the same thing as you did with the first part then just hit ok and its all set up.
    --------------------------------------------------------
    Set the text for (Last created multiboard) item in column 2, row 2 to (String(PlayerKills(Player number of(Owner of (Killing unit)))))

    is basic and i shouldnt really do this but just look for the trigger *Multiboard* set item text. This will need to be edited by the column and row you have the integer at. I hoped i helped if not just repost and ill help more
     
  10. ProfessorZmurge

    ProfessorZmurge

    Joined:
    Jul 7, 2008
    Messages:
    332
    Resources:
    0
    Resources:
    0
    Could you pleasepost a w3x file of that multiboard?
    Mine just going wrong :/
     
  11. deathdoorway

    deathdoorway

    Joined:
    Apr 13, 2005
    Messages:
    621
    Resources:
    1
    Maps:
    1
    Resources:
    1
    well any basic one is like this

    • Multiboard Copy
      • Events
        • Time - Elapsed game time is 0.01 seconds
      • Conditions
      • Actions
        • Set Kills[2] = 0
        • Set Kills[3] = 0
        • Set Kills[4] = 0
        • Set Kills[5] = 0
        • Set Kills[6] = 0
        • Set Kills[7] = 0
        • Set Kills[8] = 0
        • Set Kills[9] = 0
        • Set Kills[10] = 0
        • Set Kills[11] = 0
        • Multiboard - Create a multiboard with 2 columns and 11 rows, titled Player's Info
        • Multiboard - Minimize (Last created multiboard)
        • Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 10.00% of the total screen width
        • Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 5.00% of the total screen width
        • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Defender
        • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Kills
        • 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 1, row 2 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 3 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 4 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 5 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 6 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 7 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 8 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 9 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 10 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 1, row 11 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
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 2 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 3 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 4 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 5 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 6 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 7 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 8 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 9 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 10 to Show text and Hide icons
        • Multiboard - Set the display style for (Last created multiboard) item in column 2, row 11 to Show text and Hide icons
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 2 (Blue) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 2 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 2 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to (Name of Player 2 (Blue))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to (String(Kills[2]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 3 (Teal) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 3 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 3 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to (Name of Player 3 (Teal))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to (String(Kills[3]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 4 (Purple) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 4 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 4 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to (Name of Player 4 (Purple))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (String(Kills[4]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 5 (Yellow) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 5 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 5 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to (Name of Player 5 (Yellow))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (String(Kills[5]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 6 (Orange) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 6 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 6 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 6 to (Name of Player 6 (Orange))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 6 to (String(Kills[6]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 7 (Green) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 7 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 7 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 7 to (Name of Player 7 (Green))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 7 to (String(Kills[7]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 8 (Pink) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 8 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 8 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to (Name of Player 8 (Pink))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (String(Kills[8]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 9 (Gray) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 9 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 9 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 9 to (Name of Player 9 (Gray))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 9 to (String(Kills[9]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 10 (Light Blue) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 10 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 10 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 10 to (Name of Player 10 (Light Blue))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 10 to (String(Kills[10]))
          • Else - Actions
            • Do nothing
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Player 11 (Dark Green) slot status) Equal to Is playing
          • Then - Actions
            • Multiboard - Set the width for (Last created multiboard) item in column 1, row 11 to 10.00% of the total screen width
            • Multiboard - Set the width for (Last created multiboard) item in column 2, row 11 to 5.00% of the total screen width
            • Multiboard - Set the text for (Last created multiboard) item in column 1, row 11 to (Name of Player 11 (Dark Green))
            • Multiboard - Set the text for (Last created multiboard) item in column 2, row 11 to (String(Kills[11]))
          • Else - Actions
            • Do nothing


    Warning this trigger doesnt set up the multiboard fully right. This was used in my map. it fully works but could be improved
     
  12. PunKZ-_-

    PunKZ-_-

    Joined:
    Jan 4, 2009
    Messages:
    2
    Resources:
    0
    Resources:
    0
    ty inverted
     
  13. Vercas

    Vercas

    Joined:
    Dec 9, 2007
    Messages:
    2,604
    Resources:
    1
    Spells:
    1
    Resources:
    1
    • Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
    Affects all rows and columns... It is much easyer and shorter...
    And using the IntegerA or IntegerB functions would simplify anything -_-"
    Here's a better version of the trigger(probably not the best...) :


    • Multiboard Copy
      • Events
        • Time - Elapsed game time is 0.01 seconds
      • Conditions
      • Actions
        • For each (Integer A) from 2 to 11, do (Actions)
          • Loop - Actions
            • Set Kills[(Integer A)] = 0
        • Multiboard - Create a multiboard with 2 columns and 11 rows, titled Player's Info
        • Multiboard - Minimize (Last created multiboard)
        • Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 10.00% of the total screen width
        • Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 5.00% of the total screen width
        • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Defender
        • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to Kills
        • Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
        • For each (Integer A) from 2 to 11, do (Actions)
          • Loop - Actions
            • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
              • If - Conditions
                • (Player((Integer A)) slot status) Equal to Is playing
              • Then - Actions
                • Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 10.00% of the total screen width
                • Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 5.00% of the total screen width
                • Multiboard - Set the text for (Last created multiboard) item in column 1, row (Integer A) to (Name of (Player((IntegerA))))
                • Multiboard - Set the text for (Last created multiboard) item in column 2, row (Integer A) to (String(Kills[2]))
                • Else - Actions
                  • Do nothing
    And you're done
    Think, how shorter is this...

    Edited : Fixed a brainless bug :eek:
     
    Last edited: Jan 5, 2009
  14. zedon93

    zedon93

    Joined:
    Nov 17, 2008
    Messages:
    14
    Resources:
    0
    Resources:
    0
    I dont realy understands can you help me making a multiboard?


    I´m greatful for help

    Thanks
    Zedon93
     
  15. Geoffroy77

    Geoffroy77

    Joined:
    Feb 3, 2008
    Messages:
    137
    Resources:
    0
    Resources:
    0
    Maybe May you make different map with all in it no ?
     
  16. zedon93

    zedon93

    Joined:
    Nov 17, 2008
    Messages:
    14
    Resources:
    0
    Resources:
    0
    Thanks But.. I´ve Finished Making The Multiboard Now, I Was Trying And I Succed At Last :D
     
  17. Geoffroy77

    Geoffroy77

    Joined:
    Feb 3, 2008
    Messages:
    137
    Resources:
    0
    Resources:
    0
  18. Vizel

    Vizel

    Joined:
    Jan 30, 2009
    Messages:
    1,040
    Resources:
    0
    Resources:
    0
    Question...

    Okay I have the Multiboard set up, except mine is 3x11 instead of 2x4.

    Well, Column 3 is the Score column which is
    • Set PlayerKills = (PlayerKills x 50)


    I'm not sure if I did that right, but logically it looks good. For each hero killed, I want 50 points to be added to the scoreboard for whoever killed the hero.

    Anyway, I have a couple questions:
    +First, I want the winner of each "round" in my map to gain a bonus 100 points. Is this possible? (Seems to me like I need to bring in another trigger entirely though i am not certain of this)
    +Next, I want to know if I can arrange the Multiboard by SCORE, rather than by name.
    +Last, (and i don't think this has anything to do with the Multiboard itself other than referring to it) is there a way to pick out the top 5 scores from the Multiboard, and have them be the only ones to continue to a following round (making the other players receive defeat message and be removed from game)?

    These are the final pieces I need to make my Multiboard fully functional more or less other than a few quirks I can probably figure out myself. Anyway, I just need a simple yes/no answer as to whether they are possible in your knowledge. If they are I will hit up the Request board when I need these things for my map.

    I apologize for asking so much.
    Also, +Rep for the amazing tutorial! Even this complete noob of triggers was able to get through this with some common sense and a little patience.
     
  19. MCjunebug

    MCjunebug

    Joined:
    Dec 18, 2008
    Messages:
    14
    Resources:
    0
    Resources:
    0
    deaths..

    for whenever a hero dies i used this trigger:

    • Actions
    • Set redDeaths - (redDeaths + 1)
    • Multiboard - Set the text for (last created multiboard) item in column 2, row 3 to (string(redDeaths))


    when my hero dies it works sometimes but goes by 2 other times. How do i fix this?
     
  20. CloudMax

    CloudMax

    Joined:
    Jun 9, 2007
    Messages:
    2,438
    Resources:
    1
    Tutorials:
    1
    Resources:
    1
    I need some help, when i try to make so that the multiboard only appears for one player, it doesnt work.
    [Trigger=This is the trigger]
    Custom script: if ( GetLocalPlayer() == Player(0) ) then
    Multiboard - Show Multiboards[1]
    Custom script: endif
    [/Trigger]

    EDIT: If im not totally wrong, in your "Hero Health %'s:" example, player 1 have to be playing otherwise it wont check if player 2 and so on. Isnt it better if they are separated? It will cause a error in the code otherwise. For example, if player 1, 3 & 5 is playing. It wont read that player 3 & 5 is playing becouse player 2 & 4 is not in the game. I might be wrong but im almost sure that im right.

    EDIT2: I solved my problem. The problem was that i created another multiboard after that one which hides it instantly after it shows up. How stupid of me >.<
     
    Last edited: Apr 8, 2009