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

Last Map Question

Status
Not open for further replies.
Level 4
Joined
Jun 6, 2008
Messages
46
This my last and final question for my map. Now, i've made one topic in trigger. but it went into the abyss. So im trying here. Does anyone know the Proper trigger for when 1 hero dies, the team who killed him wins. But if the other team kills their king, they win. That kind of trigger for both the heroes. I had another topic asking it but the examples i got didn't work or i had no idea how to do them or they didn't make sense. Sorry for making so many, but i need this trigger done! So, if someone can help me with this i'd be very happy. :confused:
 
Level 8
Joined
May 27, 2007
Messages
170
You mean something like this?:

  • Kill The King
    • Events
      • Unit - King 0003 <gen> Dies
    • Conditions
    • Actions
      • Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Actions)
        • Loop - Actions
          • Game - Victory (Picked player) (Show dialogs, Show scores)
Just make another one but replace the King unit in the even section with the other teams king.
 
Status
Not open for further replies.
Top