• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Solved] Colored text question

Status
Not open for further replies.
Level 8
Joined
Jul 7, 2013
Messages
141
Do this in map init:
Multiboards By Senkin said:
http://world-editor-tutorials.thehelper.net/multiboard.php
playercolors.jpg

Player Colors:
Red: |CFFFF0303 |R
Blue: |CFF0042FF |R
Teal: |CFF1CB619 |R
Purple: |CFF540081 |R
Yellow: |CFFFFFF01 |R
Orange: |CFFFE8A0E |R
Green: |CFF20C000 |R
Pink: |CFFE55BB0 |R
Grey: |CFF959697 |R
Light Blue: |CFF7EBFF1 |R
Dark Green: |CFF106246 |R
Brown: |CFF4E2A04 |R

Then Use this trigger action:
  • Game - Display to (All players) the text: (Player_Colors[(Player number of (Owner of (Killing unit)))] + ((Name of (Owner of (Killing unit))) + (|r + has destroyed a tower.)))
Warcraft uses Hexidecimal color code. Like in HTML.
 
Status
Not open for further replies.
Top