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

Ending trigger

Status
Not open for further replies.
Level 4
Joined
Apr 27, 2007
Messages
48
How do i create a ending trigger ?
I have 2 ''teams'' in my map... the first Alliance and the second Horde...
I want to make a trigger so that if alliance kills Grom Hellscream ( horde leader ) then a message should come up for alliance... Victory !! ( and the same for horde, but Arthas instead of Grom ) and then it should end... how do i create such a trigger ?
 
Level 5
Joined
Apr 8, 2007
Messages
116
Thought about using the victory action? :)
 

Attachments

  • hnofr.jpg
    hnofr.jpg
    49.7 KB · Views: 128
Last edited:
This trigger should work for both alliance and horde

  • VictoryDefeat
    • Events
      • Unit - A unit Dies
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Triggering unit) Equal to GromHellscream
          • (Triggering unit) Equal to Arthas
    • Actions
      • Trigger - Turn off (This trigger)
      • Game - Display to (All enemies of (Owner of (Triggering unit))) the text: Victory!
      • Wait 5.00 seconds
      • Player Group - Pick every player in (All enemies of (Owner of (Triggering unit))) and do (Game - Victory (Picked player) (Show dialogs, Show scores))
      • Player Group - Pick every player in (All allies of (Owner of (Triggering unit))) and do (Game - Defeat (Picked player) with the message: Defeat!)
 
Last edited:
Status
Not open for further replies.
Top