Actor leaves group upon death?

So, several of the friendly actors in my game are summon-based, so I set up conditions that the skill summons the actor and the actor, immune to all damage except for one type (which is inimical to them story-wise), takes one HP damage every turn as an attempt to give them timers. When they die, it's supposed to symbolize that their time is up and they get desummoned. However, in the game they just fall dead. Is there a way to make them collapse like monsters do? Preferably I want the actor's plate to be removed as well.


If I'm not very clear, sorry. I hope this picture will help. Cerberus is the one I want removed (It's the one in the front that's fainted. I do apologize for the placeholder battler: I just haven't built the one I'm actually going to use for it yet.)


Cerberus Placeholder.PNG
To remove them:


Use a battle event, with the condition actor(actorId) hp < 0%.


And in action put: remove party member (actorId).


Where actorId is the id of your actor.


This could create a lot of battle events if you have a lot of different "summons", you could just use one where you do all the checks at end of turn to make it more manageable.


So battle event with condition end of turn and then, a bunch of conditionals to check if a summon hp is 0 and if it is, remove them from the party.


I don't know how to make them collapse, sorry.
That's fine, haha! I said collapse because that was what the enemies do when they die, but I mostly wanted a way to remove them from the party when they did, haha! I'll give it a try, how you said to do it.


EDIT: Ehh... How do I do this, exactly? Sorry, I went to the common event and I can't figure out how XD
You misundertood what i said: you have to do it inside a battle event.


They are found in the troops tab.


Screenshot in spoiler.

Spoiler
371ZgTz.png
Oh! Okay. Thanks! I got it working now.

Original thread: https://forums.rpgmakerweb.com/threads/actor-leaves-group-upon-death.62989/