ZzzSmileYzzZ Posted April 8, 2018 Share Posted April 8, 2018 I'm trying to make a quest, so that the player must kill multiple zombies, with different weapon each time. For example: They must kill 5 Zombies with the hand gun, then 5 more Zombies with the hunting rifle, then 5 more with the MP5 etc... I don't want to make different quest for each weapons, I'll prefer to use only one quest for it. Is it doable, if so how should I code the quest? Cheers, Link to comment Share on other sites More sharing options...
xyth Posted April 8, 2018 Share Posted April 8, 2018 I think this would need to be a quest chain if you want to have 1 gun for 1 zombietype. You can have multiple holding weapons options and multiple target objectives like this: <objective type="AnimalKill" id="animalRabbit" value="10" /> <objective type="AnimalKill" id="animalChicken" value="10" /> <objective type="ZombieKill" id="animalZombieDog" value="20" /> <requirement type="Group" id="requirementGroupArchery" value="OR"> <requirement type="Holding" id="woodenBow" /> <requirement type="Holding" id="crossbow" /> </requirement> Link to comment Share on other sites More sharing options...
ZzzSmileYzzZ Posted April 8, 2018 Author Share Posted April 8, 2018 Thanks for the info, will try it out. Cheers, Link to comment Share on other sites More sharing options...
ZzzSmileYzzZ Posted April 8, 2018 Author Share Posted April 8, 2018 I see what you mean now, thanks for the group weapon nice to know, I will have to do the chain as you said. Cheers, Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.