Setting name and color

NJJ

Cool Member
Reaction score
0
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
 

elmstfreddie

The Finglonger
Reaction score
203
Player 1 types -name as a substring
Set Player 1's name to (substring(entered chat string, 7, (length of (entered chat string))))
something similar to that


It won't turn your unit black because there's no triggering unit.
 

NJJ

Cool Member
Reaction score
0
ok, then how do i make the unit turn black?
(thank you for the -name)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top