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.
Limit Actors in Party
● ARCHIVED · READ-ONLY
-
-
Making a guild house/party member exchange NPC would probally be the best way. Then you can control all this through condition branches, and switches.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.
A rule of thumb I always live by, is assign a switch to every Actor in the game, and turn a Actor's switch on if they get added to your party(turn switch off if they leave party). This makes making the more complex events easier to handle.. -
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. -
Personally I'm gonna remove the formation command from the menu myself, because I'm gonna have general vents(as well as special story line events), that differ based on your party formation, as well as the actual members in your party.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.
However my special city that you can open a gate way to, and return to where you came from, will allow you to change the formation(that's not gonna be one of the restricted resources). This way you wont have to go out of your way to change your formation, you just can't freely change your formation from the menu like the default lets you.
There's a lot of small things, as well as some major things that really rely on me not just knowing who's in the party, but where in the party people are, It's just easier this way(and it makes more sense anyway, then being able to change party members on the field. It's stupid that people would follow you on a journey, yet stay back on the side lines while others fight, wtf lol) -
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. -
Nah I'm good, thanks anyway, but perhaps the OP needs it in anycase.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.