How would you make it so that one person cannot be int he party if another person is in the party.
like: If Adam is in the party, then Charles cannot be in the party unless you remove Adam from the party.
You can use the "change party member" command to remove or add an actor.
If you want to do it with the menu formation then you better request a script or something.
You can make a NPC which helps you add a player only if another player isn't there in this manner:
Make a "Give Choices" Event and ask the player which player what the addition should be. Then use switches to change it to "Change Member" or "Remove Member". Hope you have this much eventing knowledge.
Yeah, if you need help removing your formation menu copy-paste this code as a scriptlet (sorry if you didn't want me to tell you this):
def create_command_window @command_window = Window_MenuCommand.new @command_window.set_handler🙂item, method🙂command_item)) @command_window.set_handler🙂skill, method🙂command_personal)) @command_window.set_handler🙂equip, method🙂command_personal)) @command_window.set_handler🙂status, method🙂command_personal)) @command_window.set_handler🙂save, method🙂command_save)) @command_window.set_handler🙂game_end, method🙂command_game_end)) @command_window.set_handler🙂cancel, method🙂return_scene)) endIt helped you? If it didn't see this:
Give Choices (Party Members)
-1st Party Member
--Conditional Branch (To see if the restricted member is there)
---Add the member
OR
---Don't add the member
And do this with all.
This is how you event it. If you want, i can upload the screenshot.
Please stick with the OP's request, rather than derailing the thread to another subject.
The Conditional Branch event command allows you to see whether a certain actor is in the party. Since you can only ADD new actors to the party via events, it would be simple on the event that adds Charles to the party to first check whether Adam is in the party, and if he is, show a message instead of adding Charles. Of course you'd then have to have a way to remove Adam from the party (via the Change Party Members command) - might be as simple as a Show Choices where the player can choose which one he wants, and if he chooses Charles, remove Adam and add Charles.