Joined
May 7, 2021
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMMZ
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.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,812
Reaction score
8,226
First Language
German
Primarily Uses
RMMV
there 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)
 

Jrrkein

Insert Witty Title Here
Veteran
Joined
Apr 20, 2014
Messages
264
Reaction score
111
First Language
Indonesian
Primarily Uses
RMMZ
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.)
1620992396853.png
1620992481530.png
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.
 
Joined
May 7, 2021
Messages
4
Reaction score
0
First Language
English
Primarily Uses
RMMZ
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.)
View attachment 189247
View attachment 189249
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!
 

Latest Threads

Latest Profile Posts

So yesterday Dad took me to Volcano Bay, and it was almost ruined by a thunderstorm... then it passed by and the lightning warning got lifted, leading to an awesome time sliding and swimming. Hopefully we get to go to the arcade tonight. The one we're planning on has a restaurant built in with AWESOME food. Not to mention how big the arcade itself is!
image_2021-06-13_150033.png

Maybe I'll actually try making a retro pack. Already have the shark fin made so why not xD
Hey everyone, for everybody following along with my RPG Maker MZ streams: There will unfortunately not be a stream tonight. There is a big exciting event that will go live next week that has been taking all my time, so look forward to that!
Took a small break by playing VR. Latest update of these glasses unfortunately caused a little of trouble but it can be fixed with a manual operation.

Until You Fall is freaking awesome.
I am SO HYPED to share this trailer with everyone when its done. I almost want to tear up i had no idea how far i came along with Fallen Feather in these last 3 years.

Forum statistics

Threads
112,192
Messages
1,066,489
Members
145,800
Latest member
ArkiPDZ
Top