• 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.

[Trigger] Player Dialog Colors?

Status
Not open for further replies.
Level 9
Joined
Jun 7, 2008
Messages
440
Thats exactly what i need. How do i make it so when a player triggers an event, and it displays his/her name, that their player color will be show too.
I.E: Player 1 has entered a forbidden area!

I seen somewhere how it was done. It had to do something with a custom variable. I wish to use this resource in my map, But i cannot find it again. Any Help?
 
Level 6
Joined
Apr 24, 2008
Messages
174
Ok do this:
Download http://www.hiveworkshop.com/forums/f278/warcraft-iii-color-tags-linebreaks-31386/

Now just create a trigger where you set the names.
Should look something like this:

Action
- If (Conditions) then (Actions) else (Actions)
- Condition:
-- Player - Player 1 (Red) slot equal to Is Playing
Then action:
-- Player - Set name of Player 1 (Red) to (|cffff0303+(Player(Name of Player 1 (Red)+|r)
Else action:
-- Game - Remove Player 1 (Red) from the game

Now repeat that to all players with the correct player collor.
If you need more help or don't understand, just ask me ;)
 
Status
Not open for further replies.
Top