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

Quest Info and targets

Status
Not open for further replies.
Level 4
Joined
May 1, 2011
Messages
81
Hello there. Sorry for my bad English. I wish to make a GUI trigger such that in order to achieve the quest I created, I must destroy two buildings. But the problem is when I specify the target through the Events of "Unit Dies", the quest has unnecessarily achieved just by destroying one, and when I destroyed the other building, it repeated the "Quest marked as completed" scenario. How to make the requirement such that the player must destroy two so that the quest will be marked as Completed ONCE? Thanks.
 
Level 12
Joined
Mar 24, 2011
Messages
1,082
Event
-Building1 0000 <gen> dies
-Building2 0001 <gen> dies
Condition
Action
-If then else
--Conditions
---Building1 0000<gen> is dead equal to true
---Building2 0001<gen> is dead equal to true
--Then actions
---Mark quest as cleared
---Other stuff
--Else
---Game text message GJ one more building to destroy
---Other stuff
 
Level 4
Joined
May 1, 2011
Messages
81
Event
-Building1 0000 <gen> dies
-Building2 0001 <gen> dies
Condition
Action
-If then else
--Conditions
---Building1 0000<gen> is dead equal to true
---Building2 0001<gen> is dead equal to true
--Then actions
---Mark quest as cleared
---Other stuff
--Else
---Game text message GJ one more building to destroy
---Other stuff

Thanks, man. That worked!
 
Status
Not open for further replies.
Top