• 🏆 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 17
Joined
Jun 12, 2007
Messages
1,261
you can insert color codes inside a multiboard.
If you want you can even save them all inside a string array variable.
PlayerColor[1] = (colorcode of red)
Then as the value of multiboard do, set blabala to PlayerColor[LoopA (or w/e) + Name of Player index blabla..)

It's hard to explain but very easy to do.
 
Level 17
Joined
Jun 12, 2007
Messages
1,261
Sure lemme CnP it from a multiboard I made.

Initialization Part:
  • Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set PlayerColor[1] = |c00ff0303
      • Set PlayerColor[2] = |c000042ff
      • Set PlayerColor[3] = |c001ce6b9
      • Set PlayerColor[4] = |c00540081
      • Set PlayerColor[5] = |c00fffc01
      • Set PlayerColor[6] = |c00ff8000
      • Set PlayerColor[7] = |c0020c000
      • Set PlayerColor[8] = |c00e55bb0
      • Set PlayerColor[9] = |c00959697
      • Set PlayerColor[10] = |c007ebff1
      • Set PlayerColor[11] = |c00106246
      • Set PlayerColor[12] = |c004e2a04
      • Set PlayerColor[13] = |c00272727
      • Set PlayerColor[14] = |c00caedf4

Multiboard Part:
  • For each (Integer A) from 1 to 8, 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 text for GameStats item in column 1, row ((Integer A) + 1) to (PlayerColor[(Integer A)] + (Name of (Player((Integer A)))))
          • Multiboard - Set the text for GameStats item in column 2, row ((Integer A) + 1) to (PlayerColor[7] + Alive)
          • Multiboard - Set the text for GameStats item in column 4, row ((Integer A) + 1) to (PlayerColor[(Integer A)] + (String(PlayerKills[(Player number of (Player((Integer A))))])))
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • PlayerRessurectsUnlimited Equal to False
            • Then - Actions
              • Multiboard - Set the text for GameStats item in column 5, row ((Integer A) + 1) to (PlayerColor[(Integer A)] + (String(PlayerRessurects[(Player number of (Player((Integer A))))])))
            • Else - Actions
              • Multiboard - Set the text for GameStats item in column 5, row ((Integer A) + 1) to (PlayerColor[(Integer A)] + Unlimited)
        • Else - Actions
          • Multiboard - Set the text for GameStats item in column 1, row ((Integer A) + 1) to (PlayerColor[9] + N/A)
EDIT: I know most of it is useless to you, but remeber it's CnP'ed from my map. xD
 
Status
Not open for further replies.
Top