Warcraft III resources & community, 2003–2006 · archived

Help With important MESSAGE!!!

2 posts
#1

Help With important MESSAGE!!!

ok i want it to be that when a hero is killed a message is displayed and the player that killed the hero should get gold equal to the point value of the unit. i need the message to say (players name here)'s hero was killed by (name of killing player here). ok heres my trigger so far:



hero kills
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to True
Actions
Player - Add (Point-value of (Dying unit)) to (Owner of (Killing unit)) Current gold
#2
Game - Text Message to (All Players): (Name of (Owner of (Killed Unit))) + " has killed " + (Name of (Owner of (Killing Unit))) + "'s hero."

That's not precise wording, but it should be close enough to put you on track. To make combined sentences you use the "concatenate strings" function when it asks you what to display.