Party of 3 + empty slot for guests?

Ashton

Veteran
Veteran
Joined
Jun 9, 2014
Messages
129
Reaction score
21
First Language
English
Primarily Uses
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...
 

narcodis

Villager
Member
Joined
Jun 5, 2014
Messages
18
Reaction score
5
First Language
English
Primarily Uses
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.
 

Ashton

Veteran
Veteran
Joined
Jun 9, 2014
Messages
129
Reaction score
21
First Language
English
Primarily Uses
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 statement

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?"
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,359
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
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.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,018
Members
137,563
Latest member
MinyakaAeon
Top