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

Kuu_t

Veteran
Veteran
Joined
Jun 19, 2016
Messages
33
Reaction score
23
First Language
Finnish
Primarily Uses
RMMV
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.
 

jwgz

Villager
Member
Joined
May 4, 2018
Messages
23
Reaction score
12
First Language
English
Primarily Uses
RMMV
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.
 

Kuu_t

Veteran
Veteran
Joined
Jun 19, 2016
Messages
33
Reaction score
23
First Language
Finnish
Primarily Uses
RMMV
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.
 

shairn

Villager
Member
Joined
Jun 10, 2019
Messages
14
Reaction score
13
First Language
English
Primarily Uses
RMMV
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.
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,115
First Language
English
Primarily Uses
RMMV
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.
 

BK-tdm

Manga Maker
Veteran
Joined
Jun 21, 2018
Messages
195
Reaction score
405
First Language
English
Primarily Uses
RMMV
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.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,231
Members
137,607
Latest member
Maddo
Top