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

Hero death detection? Trigger help.

Status
Not open for further replies.
Level 6
Joined
Feb 6, 2008
Messages
166
So I was finally getting some map progress going on, winter break and all, and then I thought "Shoot. I need a way for this map to keep track of hero kills, player scores, and gold bounty."

Anyways, this huge blob below was about the only method I could think of. Is there a "more efficient" way of making a trigger like this?

  • Score
    • Events
      • Unit - A unit Dies
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Dying unit)) Equal to Archmage
          • (Unit-type of (Dying unit)) Equal to Mountain King
          • (Unit-type of (Dying unit)) Equal to Paladin
          • (Unit-type of (Dying unit)) Equal to Blood Mage
          • (Unit-type of (Dying unit)) Equal to Blademaster
          • (Unit-type of (Dying unit)) Equal to Far Seer
          • (Unit-type of (Dying unit)) Equal to Tauren Chieftain
          • (Unit-type of (Dying unit)) Equal to Shadow Hunter
          • (Unit-type of (Dying unit)) Equal to Death Knight
          • (Unit-type of (Dying unit)) Equal to Dreadlord
          • (Unit-type of (Dying unit)) Equal to Lich
          • (Unit-type of (Dying unit)) Equal to Crypt Lord
          • (Unit-type of (Dying unit)) Equal to Demon Hunter
          • (Unit-type of (Dying unit)) Equal to Demon Hunter (Demon Form)
          • ...... etc...?
    • Actions
 
Status
Not open for further replies.
Top