I've been trying to figure out a way to do this but I can't seem to figure it out. I haven't found any plugins that address this sort of thing either. What I was trying to do was have a switch turn on for each enemy troop wiped out. When that switch is tripped, I'm hoping to have some sort of counter advance by one. Then when it reaches a specific number, it triggers an event. Is there any way to do this or some sort of plugin that can make it happen? Thanks in advance!
Make an event happen when a certain number of enemies are killed
RPG Maker MV Supportthere is no plugin because such a thing should be done completely by events - and it usually is not difficult to do, as you just have to count the number of troops defeated and condition the event on that number.
Can you show us screenshots of what you have so far and describe in more detail what kind of battles you want? It is easier with evented battles than with random battles, and the code is different depending on which battles should count, so we can't help without more information.
Can you show us screenshots of what you have so far and describe in more detail what kind of battles you want? It is easier with evented battles than with random battles, and the code is different depending on which battles should count, so we can't help without more information.
Ahh, I think I figured it out by having it advance a variable by one after each kill and then have the even run when the varabiable reaches the target number. I think I was trying to over think the situation.
actually ...
although this counts enemies rather than troops. I'm not sure which you want, as your title says enemies but your post says troops. You're talking about turning on switches for each troop, then incrementing a variable. I think it's a bit convoluted and you might be making it a bit more complicated than it needs to be. If you still need help, can you explain what you're trying to achieve (rather than how you're going about it), and we'll see if we can simplify things a bit for you. Also, are these random encounters or event-triggered?
although this counts enemies rather than troops. I'm not sure which you want, as your title says enemies but your post says troops. You're talking about turning on switches for each troop, then incrementing a variable. I think it's a bit convoluted and you might be making it a bit more complicated than it needs to be. If you still need help, can you explain what you're trying to achieve (rather than how you're going about it), and we'll see if we can simplify things a bit for you. Also, are these random encounters or event-triggered?
@Shaz Sorry to hijack this thread, but I have a quick similar question.
Say I want to have an equipment change after you've killed a certain number of enemies while wearing that equipment.
For example, an armor that lowers all stats, and after you've killed 100 enemies wearing that armor, the armor changes to a new item that boosts all of your stats.
Would that be possible using that plugin?
Say I want to have an equipment change after you've killed a certain number of enemies while wearing that equipment.
For example, an armor that lowers all stats, and after you've killed 100 enemies wearing that armor, the armor changes to a new item that boosts all of your stats.
Would that be possible using that plugin?
You really shouldn't hijack someone else's thread - either start your own, or post in the plugin thread.
This plugin would get you part-way there, but you'd need something else written to completely achieve what you want.
This plugin would get you part-way there, but you'd need something else written to completely achieve what you want.
Original thread: https://forums.rpgmakerweb.com/threads/make-an-event-happen-when-a-certain-number-of-enemies-are-killed.70831/