Ok, first, my game has lots of characters you can recruit, and several areas have a specific requirement of a certain character to be in the party to complete (such as the Lost King who's going to reclaim his throne) as well as 1 summonable party member.
Is there an easy way to have events check to see if there are 3 party members in the party and, if so, require you swap one out to use a 'regular' member (leaving the 4th slot always open for guests to the summonable member)?
To be more specific, the "main" party should only have 3 members at any time and those 3 can be swapped out, but the 4th slot should always be open unless your in an area where you are required to have a 'guest' member.
I'm trying to avoid using a complex script for this and also prefer not having to do a MASSIVE set of conditional statements that check for every possible combination of 3 party members...
Party of 3 + empty slot for guests?
● ARCHIVED · READ-ONLY
-
-
Put this script in a conditional branch:
$game_party.members.count >= 3That will check if your party size is greater than or equal to 3. -
Thanks! That solves half of the problem. Is there a way to just use a variable for "member2" and "member3"? (I know I can 'say' the names using \N[2] and \N[3] - can I use something similar here?) otherwise I still have a large conditional statementPut this script in a conditional branch:
$game_party.members.count >= 3That will check if your party size is greater than or equal to 3.
i.e.
Avalible members:
Bob (leader, unswappable), Scott, Greg, Aaron, beth, Susie.
(check if scott is in the party) "swap with scott?"
(check if greg is in the party) "swap with greg?
(check if Aaron is in the party) "Swap with Aaron?
(check if beth is in the party) "Swap with Beth?"
(check if susie is in the party) "Swap with susie?" -
indirectly
In each event where you give the player the option to add a party member, have it store the actor in a variable when the actor is added.
Then you can check those variables in later events.