• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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