How can I disable inactive party members?

I'm making a thing and I have a specific boss that requires a certain party member to enter the boss area because this party member will be important in the story, but I noticed when she "joins" the party she stops existing and the battle party is the same, though you can enter the boss area without her, I later found out she's in the party, but she's inactive, and doesn't participate in combat. Is there a way where if your party is full, it will open a menu to kick someone out instead of having them in a reserve kind of thing so that this specific party member must be in the fight soon after the barrier?
I thank whoever can help in advance!
the event that adds the member needs to check the party size and don't add if the party is already at a specific size.

easiest way would probably by using control variable to check the ID of the actor in the fourth party slot - if that is zero then it is empty, if not zero use a show choices to ask for which actor to remove.
the event that adds the member needs to check the party size and don't add if the party is already at a specific size.

easiest way would probably by using control variable to check the ID of the actor in the fourth party slot - if that is zero then it is empty, if not zero use a show choices to ask for which actor to remove.

Thanks, and nice, but eh... how do I do this??
you know how to use event commands? If not then I suggest you follow the link to the starting point in my signature to the tutorials about that.

As for your specific question, here is a more detailed answer
1) use control variable to load the ID of the fourth party member into a variable
2) use conditional branch to check if the variable is zero or not, activate else-branch for that command.
3) if the variable is zero, add the special member
4) if the variable is not zero (else) then have the player select one of the existing actors to remove by show choice

If that info is not enough, then please specify which step you have problems with any why.
Alright, I understand what you're saying, I just don't know how to get the ID of the actor. Is it a script or an option I'm not finding? If it's a script then I'm SOL because I don't know how to script yet.
Also thank you for helping! Though I have no idea what I'm doing I greatly appreciate it!
The ID of the actor is their number on the actors page in your database.

EG when you load up the actors tab, generally the first you'll see is #1. Just look and see what number is next to the one in question here.

Reference #1
The ID of the actor is their number on the actors page in your database.

EG when you load up the actors tab, generally the first you'll see is #1. Just look and see what number is next to the one in question here.

Yeah I know that, sorry for not being specific enough! (EDIT: this isn't sarcasm, I'm not trying to be rude, sorry!)
What I mean is how I can get the ID of the actor in a way the game will recognize, no matter who is in the fourth party slot, that way it can be used as a condition when attempting to recruit the party member.
I believe that ID should still work. Did you try?
I know exactly what you're talking about, I just don't know how to get an event to look at the fourth party slot and see the ID of that slot. Other than that, I know what their ID's are and how to do the conditional event, just not the actual important part of the event
OOooOOOOOooOOOOOh, my bad! Sorry for misunderstanding. 😢

I'm gonna edit this post with a draft in a few hours; I think I have an idea, I'm just not in a position to write it out. (Though if someone wants to go ahead and take over, by all means!)

EDIT: GOOD NEWS you can straight up set the variable.
2s8mk5t.png

The result is "Actor ID of the party member #4"

Think you can do it from here?
OOooOOOOOooOOOOOh, my bad! Sorry for misunderstanding. 😢

I'm gonna edit this post with a draft in a few hours; I think I have an idea, I'm just not in a position to write it out. (Though if someone wants to go ahead and take over, by all means!)

No it's alright! I just wasn't being specific enough! Thank you!
OOooOOOOOooOOOOOh, my bad! Sorry for misunderstanding. 😢

I'm gonna edit this post with a draft in a few hours; I think I have an idea, I'm just not in a position to write it out. (Though if someone wants to go ahead and take over, by all means!)

EDIT: GOOD NEWS you can straight up set the variable.
2s8mk5t.png

The result is "Actor ID of the party member #4"

Think you can do it from here?

So that's in MV? What did you select, I'm having a hard time finding that 😢
(Yes I just used your crying face cuz I don't know how to use my own :3)

BIG OOF EDIT: Yeah I found it and now I feel dumb, thanks both of you for all your help!!
Yep, that's in MV. Event > Control Variables > Game Data.

GRATS ON GETTING IT and good luck on your game!
Thank you! I also had issues getting it to set a variable to the ID of the last party member, but I found out I just had to make it run a common event that sets the variable before any dialogue comes up. Thank you very much!

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-disable-inactive-party-members.103989/