TheDrifter

Veteran
Veteran
Joined
Apr 18, 2012
Messages
121
Reaction score
7
First Language
English
Primarily Uses
Hi,

I know SumRndmDde made a nifty plugin called Battle End Events, which lets you run events at the end of every battle, but unfortunately it's too slow. I need events to be run before the Item spoils & EXP / Level up messages appear.

Is there a way to force an event to be run the moment that the last enemy in a battle is defeated?

Thanks!

P.S.
I've also tried Artys Post Battle Common Events, but same result.
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,501
Reaction score
8,144
First Language
German
Primarily Uses
RMMV
yes - go the way it needs to be done without plugins.

It's a bit tricky and requires several troop events.
you'll need one troop event run on turn 0 to give all enemies an immortal state.
then you'll need one troop event for every troop checking if the HP = 0. In this troop event you can do whatever needs to be done before you kill the enemy by removing the immortal state.

you'll have those troop events to check if the current enemy is the last one and if yes, you can call your commands directly before the battle ends by removing the immortal state from the last enemy.
 

Latest Threads

Latest Profile Posts

Took our dogs on a walk and someone asked if our smallest one was a gueanie pig ((however it's spelt))
I decided to create reboots of my games on RPG Maker MV. I'm happy. :biggrin:
So, as i finish setting up my items for part 1 of my game, I realized I forgot to finalize an ENTIRE category of items. Know which ones? The Fallen Feathers....BTW my game is called "Fallen Feather"
and_remember_tomorrow_exploding_puzzle_logo.jpg

Made some new friends, and blew up a puzzle... Happens. :LZSwink:
A new RPG Maker music pack is coming out soon! Below is a demo of one of the compositions in the pack, Heroic Battle. More details coming soon!

Forum statistics

Threads
111,146
Messages
1,058,692
Members
144,374
Latest member
strawbies
Top