[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,866
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