• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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