• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] How do I make it so that when a specific unit type kills any type of unit, player gets 100 gold?

Status
Not open for further replies.
Level 2
Joined
Jun 13, 2018
Messages
4
So, I would do the other thing on here, but I am not sure how to write it, so I will attach a screenshot of the triggers that I made.
1705073659118.png

Where did I mess it up? First line says "A unit dies".
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,877
The Event Responses for when a unit dies are the following:

(Dying Unit) = The unit that died
(Killing unit) = The unit that killed it
(Triggering unit) = Same as (Dying unit)

Then you would Add the gold to the (Owner of (Killing unit))

You're currently using Event Responses for the Unit - A unit is attacked event.

Also, you don't need to use screenshots:
 
Status
Not open for further replies.
Top