[Help] Show hero name after my name?

Status
Not open for further replies.
Level 4
Joined
Jul 19, 2007
Messages
76
Hello guys,
All what I want is to show hero name after my name, Example:
If hero name is "Templar Assassin", when I write in game to show:
deagLeRuLzZ(Templar Assassin): bla bla bla
Thanks in advance.
+rep for all helpers
 
Level 4
Joined
Jul 19, 2007
Messages
76
guys, I can't do something I don't know what.. this is my trigger:
  • Untitled Trigger 004
    • Events
      • Unit - A unit Begins training a unit
    • Conditions
      • ((Trained unit) is A Hero) Equal to True
    • Actions
      • Player - Set name of Player 1 (Red) to ((Name of Player 1 (Red)) + (( + ((Name of (Trained unit)) + ))))
I trained heroes with tavern is that wrong?
 
Level 16
Joined
Mar 26, 2004
Messages
569
That event is wrong to go with that trigger
  • Unit - A unit Finishes training a unit
But when buying from a tavern, it's:
  • Untitled Trigger 001
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to (==) True
    • Actions
      • Player - Set name of (Owner of (Sold unit)) to ((Name of (Owner of (Sold unit))) + ( ( + ((Name of (Sold unit)) + ))))
 
Level 14
Joined
Mar 4, 2009
Messages
1,156
guys, I can't do something I don't know what.. this is my trigger:
  • Untitled Trigger 004
    • Events
      • Unit - A unit Begins training a unit
    • Conditions
      • ((Trained unit) is A Hero) Equal to True
    • Actions
      • Player - Set name of Player 1 (Red) to ((Name of Player 1 (Red)) + (( + ((Name of (Trained unit)) + ))))
I trained heroes with tavern is that wrong?


for that event -unit begins training a unit you need to use -unit type trained unit
 
Status
Not open for further replies.
Top