Remove an actor before a battle and add it back after it

Hi,

I'm trying to achieve following, but I really can't figure it out:

I have three actors, but one of them shouldn't be in battles.

I wan't to have him in the party, but remove the actor when the battle starts. After the battle, I wan't to get the third actor back to the party.

How to achieve this by eventing? I don't get it.

Currenty I'm removing the third actor, when the Battle Processing starts. It works as excepted, but I can't add the third actor back, when the battle processing ends.
I think you might be overthinking this.

Simply make an event to add the party member after the battle (the same way you would when recruiting any other party member for the first time). Simple as that. You just need to make sure that the "initializing" feature is off, or the character will rejoin the party at minimum level and equipment.

That said, if your goal is to remove and then re-add the character EVERY time you battle (including random encounters) then I can't help you, though someone with more evening knowledge than me may be able to help.
Thank you for an idea, but I indeed have a dungeon, where this behavior should be in every battle. Thought, I don't use random encounters, but I have encounters on map.

I thought that I could use some kind of Common Event for this... I'll try it out tomorrow and if it works, I'll write about it.
This should work the way you intend it, if I understand correctly. Just put "remove" then "add" before and after the event that triggers your battle, respectively. Might change the order of your party, depending, but that's also a simple fix.

asdf.PNG


I don't think it would be impossible to make it default behaviour for that character (nothing is) but this seems like the simplest way to achieve the desired effect.
Thought, I don't use random encounters, but I have encounters on map.
If you have battles caused by events, use exactly the solution from @shairn

If you want to do it for random encounters, you can probably find a plugin that allows you to run a Common Event before random encounters. You can remove Harold in that common event.

A way to run event commands after battle with no plugins is to have a Parallel Common Event which is conditioned by a switch. Inside the Troop Event, turn the switch on. Then when the battle is over and the party returns to the map it will trigger a Common Event which adds Harold back to the party. At the end of the Common Event make sure to turn the switch off otherwise it will run forever.
You can use Hime's Guest Followers plugin if the character in question will be visible in the party but does not take part in combat at all, as the plugin suggests, that party member is a "guest" so its just there visually (good for escort quests) so it would be a good try to make a visible non-combat party member.

Original thread: https://forums.rpgmakerweb.com/threads/remove-an-actor-before-a-battle-and-add-it-back-after-it.112634/