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.
 
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
 
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.
Back
Top