Hi!
When making a trigger displaying a text message to all players including one players name, how do I make it so that his name in the message has the same color as his units? For example when someone picked a Hero, and there's a message stating that Player 1 picked Hero1, I want the text "Player 1" to be red. And if player two picks one it should be blue etc.
I want the same for messages like: Player 1 (Hero1) killed Player 2 (Hero2)
.. where the Player 1 part is in red and the Player 2 part in blue.
Now I think I figured out one way to do it but it would include lots and lots of If/Then/Else combinations and I thought there might be an easier way.
Any suggestions? =)
Regards!
McLovin
When making a trigger displaying a text message to all players including one players name, how do I make it so that his name in the message has the same color as his units? For example when someone picked a Hero, and there's a message stating that Player 1 picked Hero1, I want the text "Player 1" to be red. And if player two picks one it should be blue etc.
I want the same for messages like: Player 1 (Hero1) killed Player 2 (Hero2)
.. where the Player 1 part is in red and the Player 2 part in blue.
Now I think I figured out one way to do it but it would include lots and lots of If/Then/Else combinations and I thought there might be an easier way.
Any suggestions? =)
Regards!
McLovin