Event:
Player - Player 1 (Red) types a chat message containing -Black as An exact match
Action:
If (((Triggering unit) is A Hero) Equal to True) then do (Unit - Change color of (Triggering unit) to Black) else do (Game - Display to (All players) the text: ((Name of (Triggering player)) + has changed his Color!))
it wont make my hero turn black.
And i just don't know how to make a trigger for setting a name.
when ever someone says -name HELLO
it will be like
HELLO: Look at my new name
Help plz
Player - Player 1 (Red) types a chat message containing -Black as An exact match
Action:
If (((Triggering unit) is A Hero) Equal to True) then do (Unit - Change color of (Triggering unit) to Black) else do (Game - Display to (All players) the text: ((Name of (Triggering player)) + has changed his Color!))
it wont make my hero turn black.
And i just don't know how to make a trigger for setting a name.
when ever someone says -name HELLO
it will be like
HELLO: Look at my new name
Help plz