Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Troop event that get skipped

Tsukihime

Praised Adventurer
Xy$
0.00
I've written article that discusses one problem in MV: troop that keep getting skipped.
Here's the full article

https://www.patreon.com/posts/3627859

The problem can be summarized as follows:



You have two slime. For each slime you defeat, you gain one slime kill count.
However, at the end of the battle, you will never gain 2 counts after defeating 2 slime.

What kind of workarounds do you have for this?
 
If you're looking for X items, have it be an item drop from that paticular slime, or have a script that allows certain events to run before end event processing, or have event processing set up to occur before the battle ends, or have it be an ondeath event, or...
 

Bizarre Monkey

I SHALL BE GLORIOUS!
I've written article that discusses one problem in MV: troop that keep getting skipped.
Here's the full article

https://www.patreon.com/posts/3627859

The problem can be summarized as follows:



You have two slime. For each slime you defeat, you gain one slime kill count.
However, at the end of the battle, you will never gain 2 counts after defeating 2 slime.

What kind of workarounds do you have for this?
Add immortal state (by default 3) to both slimes, at enemy hp = 0% remove immortal state, add death state after changing the variable.

This has been a recurring error since at least VX.
 
Top