• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

How do I add texts after heros die in game, like in war in the plaguelands?

Status
Not open for further replies.
Level 3
Joined
Jan 30, 2013
Messages
32
How do I set it to where it'll say a text in white when a hero dies to all players with a quote or custom message like in witp? as in. "The dreaded death knight of stratholm, Baron Riverdare has been killed."

Plx respond in a way that I can easily understand as I am a noob to map editor, or link screen shots.
 
Level 10
Joined
Apr 18, 2009
Messages
576
How familiar are you with triggering?

You're probably after a trigger like this:
  • Hero Dies Message
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Game - Display to (All players) the text: (The + ((Name of (Triggering unit)) + (, +((Proper name of (Triggering unit)) + , has died.))))
If you're new to triggering, you might want to check out the implementation in this example I made to fully understand how the trigger is wired:
Example map
 
Status
Not open for further replies.
Top