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

[Trigger] Multiboard - Color

Status
Not open for further replies.
Level 8
Joined
Aug 19, 2007
Messages
294
I need help with the colors in my multiboard.
  • Multiboard - Set the color for (Last created multiboard) item in column 1, row 2 to (100.00%, 0.00%, 0.00%) with 0.00% transparency
  • Multiboard -
This color is red i know, i need a list of all player colors
I hope you can help me.
 
Level 11
Joined
Apr 6, 2008
Messages
760
  • SetPlayerColor
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set PlayerColor[1] = |CFFFF0000
      • Set PlayerColor[2] = |CFF0000FF
      • Set PlayerColor[3] = |CFF18E7BD
      • Set PlayerColor[4] = |CFF18E7BD
      • Set PlayerColor[5] = |CFFFFFF00
      • Set PlayerColor[6] = |CFFFF8A08
      • Set PlayerColor[7] = |CFF18BE00
      • Set PlayerColor[8] = |CFFE759AD
      • Set PlayerColor[9] = |CFF949694
      • Set PlayerColor[10] = |CFF7BBEF7
      • Set PlayerColor[11] = |CFF086142
      • Set PlayerColor[12] = |CFF4A2800
If you ment Text Color (PlayerColor is a string array)
 
Level 11
Joined
Apr 6, 2008
Messages
760
  • You Cant Oh yes you can
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Multiboard - Create a multiboard with 1 columns and 12 rows, titled Test
      • Set Board = (Last created multiboard)
      • Multiboard - Show Board
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Multiboard - Set the width for (Last created multiboard) item in column 1, row (Integer A) to 3.00% of the total screen width
          • Multiboard - Set the text for Board item in column 1, row (Integer A) to (PlayerColor[(Integer A)] + (Name of (Player((Integer A)))))
This will set the text for 12 rows with the players name in the correct color
 
Status
Not open for further replies.
Top