- Joined
- Jun 2, 2012
- Messages
- 747
Hey, hivers! How do I do a quest that you will kill multiple type of units? For example you have to kill 3 kobold, 3 satyr and 3 troll...like that. This is my trigger but it doesnt work:
-
The Revenge Update
-
Events
- Unit - A unit Dies
-
Conditions
- (Quest1 is enabled) Equal to True
- (Unit-type of (Dying unit)) Equal to Demon Swordsman
- (Unit-type of (Dying unit)) Equal to Returned Knight
- (Unit-type of (Dying unit)) Equal to Returned Mage
-
Actions
- Set DemonsSwordsmanKilled = (DemonsSwordsmanKilled + 1)
- Set ReturnedKnightKilled = (ReturnedKnightKilled + 1)
- Set ReturnedMageKilled = (ReturnedMageKilled + 1)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- DemonsSwordsmanKilled Equal to 3
- ReturnedKnightKilled Equal to 3
- ReturnedMageKilled Equal to 3
-
Then - Actions
- Quest - Display to (All players) the Quest Update message: You have killed the...
- Else - Actions
-
If - Conditions
-
Events