• 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.

Detecting Players for Unit Kills

Status
Not open for further replies.
Level 2
Joined
Apr 2, 2004
Messages
13
Essentially I'm looking for a system that detects which player owns a unit that has just killed a unit of, say, another player.

Example: Player 1 owns Demon Hunter A. Demon Hunter A kills Demon Hunter B, whom is owned by Player 2. The trigger fires and performs actions based on the condition that it was a unit owned by Player 1 who killed Demon Hunter B.

Any help would be appreciated.
 
Level 2
Joined
Apr 2, 2004
Messages
13
Event
-Unit is Killed

Conditions
-Owning Player of ( Killing Unit ) is equal to Player(1)

Actions
-(Put your actions here)

As far as I can tell, there's isn't a generic unit event involving a unit being killed. There's "A unit dies" or "a unit is attacked", but none mentioning "a unit is killed".
 
Status
Not open for further replies.
Top