Warcraft III resources & community, 2003–2006 · archived

Player name in the color of the player

7 posts
#1

Player name in the color of the player

I'm making a Rp but I have a problem with the OCC text, I don't know how to make it in the color of the player that wrote it, if you could help it would be nice.
#2
Damn this question was asked about 100 times!.
You the the option ,,Tools'' middle up right?
Click on it , download a colour editor for strings and make a variable in your map.

Variable:
String
Typ:String
Array:12

Map initalisation
/
Set String[1] = |C****** <<< colour code for red.

Then you can use

Game - Display to all players the text :
(Sring[Playernumber of(*yourplayer*)))+(Name of(*yourplayer*) + *yourtext*)

hope you understand it :wink:
#3
That doesn't work... I did everything you wrote and still no colour!
#4
because C************ is not a code.

a code would be something like

|cFFF00088Hello|r which will say Hello in whatever color that is. by C********** he meant c followed by 8 of either ( c, 8, 0, F, and many more )
#5
LoL?

I said that he has to chose the |C colour codes for the player. I don't give any example bc that so easy and this question was ask about many times. :wink:
#6
Omg i'm not stupid... I know that C******** isn't what i have to put in! I put all the right colors code and all and still doesn't work!
#7
Oh okay

Please give us the 2 triggers

1st How you set the Variable Colourcode Array 12 ( for 12 player colours )

2nd how do you have use it :wink: