• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Multiboard for Teams

Status
Not open for further replies.
Level 3
Joined
May 30, 2012
Messages
29
Almost all multiboards, shows scores "kills and deaths" for single players.

My map is 5 players in team +computer
that means
Team HUM (5 players + computer (player 6 colour orange)
Team UD (5 players + computer (player 12 colour Brown)

what i need is muliboard show scores of team complete, no single player.






  • MultiboardSetup
    • Events
      • Time - Elapsed game time is 61.00 seconds
    • Conditions
    • Actions
      • Countdown Timer - Start Game_Time as a One-shot timer that will expire in 999999.00 seconds
      • Trigger - Run CreateMultiboard <gen> (ignoring conditions)
  • CreateMultiboard
    • Events
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 4 columns and (6 + PlayerCount) rows, titled MiniDota
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Team
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to Kills
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row 1 to Deaths
      • Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 0 to 10.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 0 to 3.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 4, row 0 to 5.00% of the total screen width
      • Multiboard - Set the color for (Last created multiboard) item in column 2, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
      • Multiboard - Set the color for (Last created multiboard) item in column 3, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
      • Multiboard - Set the color for (Last created multiboard) item in column 4, row 0 to (70.00%, 70.00%, 70.00%) with 0.00% transparency
      • Set TempInterger = 2
      • Set MultiboardSpots[1] = TempInterger
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row TempInterger to 0
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row TempInterger to 0
      • Set TempInterger = ((Number of players in PlayersHum) + 4)
      • Set MultiboardSpots[7] = TempInterger
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row TempInterger to 0
      • Multiboard - Set the text for (Last created multiboard) item in column 4, row TempInterger to 0
      • Set MultiboardClock = (PlayerCount + 6)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row MultiboardClock to Game Time
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row MultiboardClock to 0:00
      • Multiboard - Set the color for (Last created multiboard) item in column 3, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
      • Multiboard - Set the color for (Last created multiboard) item in column 4, row 1 to (100.00%, 100.00%, 100.00%) with 0.00% transparency
      • Multiboard - Show (Last created multiboard)

  • TallyScore
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • Set ScoreSkills[(Player number of (Owner of (Killing unit)))] = (ScoreSkills[(Player number of (Owner of (Killing unit)))] + 1)
      • Set ScoreDeaths[(Player number of (Owner of (Dying unit)))] = (ScoreDeaths[(Player number of (Owner of (Dying unit)))] + 1)

  • TallyClock
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set GameMinutes = ((Integer((Elapsed time for Game_Time))) / 60)
      • Set GameSeconds = ((Integer((Elapsed time for Game_Time))) mod 60)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • GameSeconds Greater than or equal to 10
        • Then - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row MultiboardClock to ((String(GameMinutes)) + (: + (String(GameSeconds))))
        • Else - Actions
          • Multiboard - Set the text for (Last created multiboard) item in column 3, row MultiboardClock to ((String(GameMinutes)) + (:0 + (String(GameSeconds))))
 
Last edited:
Level 29
Joined
Oct 24, 2012
Messages
6,543
I'm not sure exactly what you are asking for ?
Do u need help is something wrong ? If there is you should explain what is happening and what you want to happen.

Also anything you use twice or more should be stored into a variable and the variable should be used. Example: store last created multiboard into a variable and use that variable instead.
This is done for speed and efficiency.
 
Level 3
Joined
May 30, 2012
Messages
29
the trigger with store the kills and death for each team is done.

I dont know how create the multiboard.
 
Status
Not open for further replies.
Top