Companion dies definitively when killed in battle.

cebmetal

Villager
Member
Joined
Aug 30, 2023
Messages
16
Reaction score
1
First Language
spanish
Primarily Uses
RMMZ
Hi!
First apologies if this is already in the forum, as I do not speak English, I have searched but did not find anything, maybe because I have not written it well.

The question is that I am doing battle events which nothing happens by default if you die.
I added an exception for if the MC dies the game is over, but now I was testing that if a teammate dies, the same thing happens, the teammate continues, should I put exceptions for all teammates to remove them from the group if he dies, or can it be done automatically?

Thank you!
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
12,692
Reaction score
11,262
First Language
English
Primarily Uses
RMMV
You can implement perma-death in two ways.

1 - In the event where you're calling the Battle Processing, at the bottom you can just check for each actor to have the Death state, and if yes, remove them from the party.

1695315153100.png

2 - You can use a plugin like VisuStella Skills and States Core to make it automatically happen during battle, as soon as they get the state applied.
 

cebmetal

Villager
Member
Joined
Aug 30, 2023
Messages
16
Reaction score
1
First Language
spanish
Primarily Uses
RMMZ
Thank you so much!
I didn't have that many enemies on the map, so I did it manually!
Thank you!
 

Latest Threads

Latest Profile Posts

Yknow what? Im seriously considering recruiting a manager to oversee my games development.
Because I cannot focus or complete these tasks by myself. I need someone to give me orders, without having them be my boss.
yp_4vS.png

Remember my latest plugin for rpg maker mz:

Acknowledgement Window is now available!

Take a look here:

Got my focus back, 9/59 maps have the door fix in place now.

Forum statistics

Threads
136,803
Messages
1,270,184
Members
180,558
Latest member
Kev03
Top