A way to stop battle from immediately ending.

Nerine

Veteran
Veteran
Joined
Oct 3, 2020
Messages
66
Reaction score
18
First Language
Polish
Primarily Uses
RMMZ
Is there a way to stop battle from immediately ending after defeating every enemy on screen? I want another enemy to appear right after the previous ones were destroyed, but without starting another battle.
 

Aceinfurno

The Padawan
Member
Joined
May 4, 2021
Messages
16
Reaction score
8
First Language
English
Primarily Uses
RMMV
You can have addons join the battle by coding it into the Troops battle event, having them "appear halfway" by right clicking the enemy model, and setting up for them to appear using the 3rd tab battle options
 

Nerine

Veteran
Veteran
Joined
Oct 3, 2020
Messages
66
Reaction score
18
First Language
Polish
Primarily Uses
RMMZ
You can have addons join the battle by coding it into the Troops battle event, having them "appear halfway" by right clicking the enemy model, and setting up for them to appear using the 3rd tab battle options
I tried that, but the battle still ends after every visible enemy is defeated.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,811
Reaction score
8,225
First Language
German
Primarily Uses
RMMV
two ways:
you can either use a plugin to give additional triggers to troop events, or you can use an immortal state to trick the engine into handling troop events.


the second part basically requires a troop event on turn zero that gives all enemies an immortal state, then one troop event for each enemy conditioned to HP=0.
on those troop events you count up how many enemies are defeted before removing the immortal state, killing the enemy only after the troop event completed.
if the last enemy is dead, you add the new enemies before removing the immortal state.
 

Nerine

Veteran
Veteran
Joined
Oct 3, 2020
Messages
66
Reaction score
18
First Language
Polish
Primarily Uses
RMMZ
two ways:
you can either use a plugin to give additional triggers to troop events, or you can use an immortal state to trick the engine into handling troop events.


the second part basically requires a troop event on turn zero that gives all enemies an immortal state, then one troop event for each enemy conditioned to HP=0.
on those troop events you count up how many enemies are defeted before removing the immortal state, killing the enemy only after the troop event completed.
if the last enemy is dead, you add the new enemies before removing the immortal state.
Thank you.
 

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,487
Members
145,800
Latest member
ArkiPDZ
Top