Check if an Enemy in Troop Died

HalestormXV

Deranged
Veteran
Joined
Apr 10, 2013
Messages
99
Reaction score
12
First Language
Sarcasm/English
Primarily Uses
N/A
Just curious to know if there is a script call that can run to check if an enemy in a troop has died. I am using Yanfly's Row formation:
http://yanfly.moe/2016/01/02/yep-54-row-formation/

I am doing some Lunatic mode row modification and I am trying to have an enemy switch rows when one of his "companions" dies. In other words. I kill the enemy in the first row and the enemy in the second row moves up one and the enemy in the last row moves up one. Then I kill the enemy in the first row and the enemy who was now in the second row moves up to the first row. I know there are plugin commands to switch rows during battle and that is fine. But I need the condition check to see if a member of the troop has died.

Any suggestions are appreciated.
 

Thefirelion

Veteran
Veteran
Joined
Mar 25, 2017
Messages
58
Reaction score
15
First Language
Spanish
Primarily Uses
RMVXA
Try this on conditional Branch in the events troops box .
To check if a troop member has died.
-The list of individual enemies (in a troop) is generated based on your customized troop configuration
-just choose the enemy individually and you're done

Example:
You enter a battle with a troop consisting of 5 rats, then the automatically generated list by the engine will be like this:
number 1: rat => IF rat [1] died THEN do stuff...
number 2: rat => IF rat [2] died THEN do stuff...
number 3: rat => IF rat [3] died THEN do stuff...
number 4: rat => IF rat [4] died THEN do stuff...
number 5: rat => IF rat [5] died THEN do stuff...

Untitledj.jpg
 
Last edited:

HalestormXV

Deranged
Veteran
Joined
Apr 10, 2013
Messages
99
Reaction score
12
First Language
Sarcasm/English
Primarily Uses
N/A
Got it alright. Thanks for the help.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,466
Members
137,821
Latest member
Capterson
Top