• 🏆 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!

Multiboard

Status
Not open for further replies.
Level 4
Joined
Apr 30, 2008
Messages
111
I don't know what's wrong he just show Time and Life


  • MB
    • Ereignisse
    • Bedingungen
    • Actions
      • Set tempinteger = 0
      • Spielergruppe - Pick every player in (All players) and do (Actions)
        • Schleifen - Aktionen
          • Set tempinteger = (tempinteger + 1)
          • Set Number = (Player number of (Player in position tempinteger of Leaderboard))
          • Set Row[Number] = (tempinteger + 1)
          • Multiboard - Set the text for Multiboard item in column 2, row Row[3] to (cc_players[Number] + ((Name of (Player(Number))) + cc_endtag))
          • Multiboard - Set the text for Multiboard item in column 2, row Row[3] to (<Leerer String> + ((String((Percentage life of (Triggering unit)))) + %))
          • Multiboard - Set the text for Multiboard item in column 2, row Row[3] to (String(Kills[Number]))

  • Colours
    • Ereignisse
      • Map initialization
    • Bedingungen
    • Actions
      • Set cc_players[1] = |cffFF0000
      • Set cc_players[2] = |cff0000ff
      • Set cc_players[3] = |cff00ffff
      • Set cc_players[4] = |cff8000ff
      • Set cc_players[5] = |cFFFFFF00
      • Set cc_players[6] = |cffFF8000
      • Set cc_players[7] = |cff00FF00
      • Set cc_players[8] = |cffFF0080
      • Set cc_players[9] = |cffC2C2C2
      • Set cc_players[10] = |cff0099FF
      • Set cc_endtag = |r

  • Multiboard
    • Ereignisse
      • Zeit - Elapsed game time is 0.01 seconds
    • Bedingungen
    • Actions
      • Multiboard - Create a multiboard with 4 columns and 14 rows, titled Don't know
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 1 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 2 to Hide text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 3 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 4 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 5 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 6 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 7 to Zeigen text and Verbergen icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 8 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 9 to Show text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 10 to Verbergen text and Verbergen icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 11 to Hide text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 12 to Hide text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 13 to Hide text and Hide icons
      • Multiboard - Set the display style for (Last created multiboard) item in column (Integer A), row 14 to Hide text and Hide icons
      • 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 10.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row (Integer A) to 8.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to Mission Time :
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((((((String(Time[6])) + (String(Time[5]))) + :) + (String(Time[4]))) + ((String(Time[3])) + :)) + ((String(Time[2])) + (String(Time[1]))))
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to Name:
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to Hp:
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 3 to Exp:
      • For each (Integer A) from 2 to 5, do (Actions)
        • Loop - Actions
          • Spielergruppe - Pick every player in (All players matching ((((Matching player) slot status) Gleich Spielt) and (((Matching player) controller) Gleich Benutzer))) and do (Actions)
            • Loop - Actions
          • Multiboard - Set the width for Multiboard item in column 3, row (Integer A) to 10.00% of the total screen width
          • Multiboard - Set the width for Multiboard item in column 4, row (Integer A) to 8.25% of the total screen width
          • Multiboard - Set the width for Multiboard item in column 5, row (Integer A) to 7.00% of the total screen width
          • Multiboard - Set the text for Multiboard item in column 2, row ((Integer A) + 1) to (cc_players[(Integer A)] + ((Name of (Player((Integer A)))) + cc_endtag))
          • Multiboard - Set the text for Multiboard item in column 3, row ((Integer A) + 1) to 0
          • Set Multiboard_Spots[(Player number of (Picked player))] = List
          • Set List = (List + 3)
      • Multiboard - Maximieren (Last created multiboard)
      • Multiboard - Zeigen (Last created multiboard)

  • Player Hp 2
    • Ereignisse
      • Einheit - A unit is attacked
    • Bedingungen
      • (((Attacked unit) is a Hero) Equal to True) and (((Owner of (Attacked unit)) controller) Equal to User)
    • Actions
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row Multiboard_Spots[(Player number of (Owner of (Attacked unit)))] to ((String((Integer((Percentage life of (Attacked unit)))))) + %)


  • Time
    • Ereignisse
      • Zeit - Every 1.00 seconds of game time
    • Bedingungen
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
        • 'THEN'-Aktionen
          • Set Time[1] = (Time[1] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((((((String(Time[6])) + (String(Time[5]))) + :) + (String(Time[4]))) + ((String(Time[3])) + :)) + ((String(Time[2])) + (String(Time[1]))))
        • 'ELSE'-Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • Time[1] Equal to 10
        • 'THEN'-Actions
          • Set Time[1] = 0
          • Set Time[2] = (Time[2] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((((((String(Time[6])) + (String(Time[5]))) + :) + (String(Time[4]))) + ((String(Time[3])) + :)) + ((String(Time[2])) + (String(Time[1]))))
        • 'ELSE'-Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • Time[2] Equal to 6
        • 'THEN'-Actions
          • Set Time[2] = 0
          • Set Time[3] = (Time[3] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((((((String(Time[6])) + (String(Time[5]))) + :) + (String(Time[4]))) + ((String(Time[3])) + :)) + ((String(Time[2])) + (String(Time[1]))))
        • 'ELSE'-Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • Time[3] Equal to 10
        • 'THEN'-Actions
          • Set Time[3] = 0
          • Set Time[4] = (Time[4] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((((((String(Time[6])) + (String(Time[5]))) + :) + (String(Time[4]))) + ((String(Time[3])) + :)) + ((String(Time[2])) + (String(Time[1]))))
        • 'ELSE'-Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • Time[4] Equal to 6
        • 'THEN'-Actions
          • Set Time[4] = 0
          • Set Time[5] = (Time[5] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((((((String(Time[6])) + (String(Time[5]))) + :) + (String(Time[4]))) + ((String(Time[3])) + :)) + ((String(Time[2])) + (String(Time[1]))))
        • 'ELSE'-Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • 'IF'-Bedingungen
          • Time[5] Equal to 10
        • 'THEN'-Actions
          • Set Time[5] = 0
          • Set Time[6] = (Time[6] + 1)
          • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to ((((((String(Time[6])) + (String(Time[5]))) + :) + (String(Time[4]))) + ((String(Time[3])) + :)) + ((String(Time[2])) + (String(Time[1]))))
  • 'ELSE'-Aktionen

  • Kills
    • Ereignisse
      • Einheit - A unit dies
    • Bedingungen
    • Actions
      • Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
      • Bestenliste - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
      • Bestenliste - Sort Leaderboard by Wert in Absteigend order
      • Auslöser - Run MB <gen> (ignoring conditions)
 
Last edited:
Status
Not open for further replies.
Top