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

A way to win

Status
Not open for further replies.
Level 3
Joined
Oct 31, 2014
Messages
55
is possible to make a trigger that when a hero who has an object, kill another hero wins the game? or just when a hero acquires a object :p , i have tried to make one but the action victory seems to have few options.
also what does GUI stands for? hehe
 
Level 5
Joined
May 12, 2014
Messages
133
This is the way I would have done it. Under Boolean conditions, you can see if a hero (or unit) has a specific item. This is just a quick way to do it, and doesn't do much else aside from letting a player win when their hero kills another hero with a certain item on hand. Of course, I pretty much suck at triggering, so if this failed, I'm sorry. :goblin_cry:


  • Kill to Win
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Killing unit) has an item of type INSERT ITEM TYPE HERE) Equal to True
      • ((Dying unit) is A Hero) Equal to True
      • ((Killing unit) is A Hero) Equal to True
    • Actions
      • Game - Victory (Owner of (Killing unit)) (Show dialogs, Show scores)
Oh, and GUI stands for Graphical User Interface. I always thought it stood for "General User Interface", but I was wrong. :ogre_frown:
 
Status
Not open for further replies.
Top