I want to make a Quest where you have to kill a Specific Amount of Enemys to end It, but I don't know how I do it.
How do I make a Kill Quest?
RPG Maker MZ Supportthere are a lot of possibilities with events here, I strongly suggest that you work through several of the eventing tutorials available.
basically you have to make a counter with variables and check them in the quest events.
there are several different ways how to count.
1) make a counting troop event on enemy death. That is a bit more problematical because the battle ends before the troop event of the last enemy death, so you would have to trick with an immortal state.
2) have each enemy drop some useless item to count, like a rat's tail or a wolf's claw or whatever. then have the quest event check how many are in inventory (again with control variable:game data:item in inventory)
basically you have to make a counter with variables and check them in the quest events.
there are several different ways how to count.
1) make a counting troop event on enemy death. That is a bit more problematical because the battle ends before the troop event of the last enemy death, so you would have to trick with an immortal state.
2) have each enemy drop some useless item to count, like a rat's tail or a wolf's claw or whatever. then have the quest event check how many are in inventory (again with control variable:game data:item in inventory)
Specific enemy or all enemies x times? This can be done thru evented enemies with using variables under if win condition when actor won the battle, the counter goes up by 1 as well self-event and another event with conditional branch to check how many enemies are killed and that event with another switch
(which can be done in troop event as well, by adding a variable.)
Other than that follow what andar suggested with item as drop and link together with a variable to count how many of the enemies are killed.
(which can be done in troop event as well, by adding a variable.)
Other than that follow what andar suggested with item as drop and link together with a variable to count how many of the enemies are killed.
Thanks. Thats exactly what I thought of!
Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-a-kill-quest.136517/