• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

[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 13
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