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,853
Reaction score
8,236
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 Posts

Latest Profile Posts

I hate doing voice over videos but people said they like hearing about the details.
Modern Town Overworld, World of Solaria Dungeon, 80's Retro-Futuristic Font | RPG Maker News #73

I been slowing down and not focusing on project currently.
I had this idea for VTubers vs MOTHER and its a bunch of Vtubers finding eight melodies to fight a psychic alien and a fat kid. IDK, kinda find it hard to use RPG Maker for more than 15 minutes
Working on some wizard/magic bases:
TestChara-10-hover.gif

I mean, technically it's a flying base but I haven't made any wings yet, so magic hovering is it for now.

Forum statistics

Threads
112,300
Messages
1,067,191
Members
145,929
Latest member
longga1996
Top