palom

Villager
Member
Joined
Aug 23, 2017
Messages
10
Reaction score
0
First Language
spanish
Primarily Uses
RMVXA
Hi, I have characters that can join to you just chatting, but I want to put a limit of the party members numbers since I don't want 4 characters on my engine, so if the ammount of members is reached a "Party full" message would pop up.

Is there an optimal way to do it? I don't want to use something sub optimal as conditional branches for each possible character.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,670
Reaction score
15,291
First Language
English
Primarily Uses
RMMV
Unless you're using a plugin, the player can't add members to your party unless you give them a way to.

So, on any event that COULD add a member to your party, you just check how many are there already, and if the maximum has been reached, don't let them add another - or give them the option to remove one.

Control Variables > Game Data > Other > Party Size

will set a variable to the number of actors currently in the party.
 

palom

Villager
Member
Joined
Aug 23, 2017
Messages
10
Reaction score
0
First Language
spanish
Primarily Uses
RMVXA
Woah, that was simpler than I thought. Thank you. I'll do that.
 

Latest Threads

Latest Posts

Latest Profile Posts

I've been busy trying out different art styles for my game.

Enemies deserve some spotlight also
hackingCompressed.gif
I think I can make a text-based mini-game with almost zero art assets and with code only...just a lot of code as assets all by themselves. :kaojoy:
A video update on the progress I've been making on the cutscenes. :kaosalute:

I wonder if color LUTs is possible for RPG Maker. It would be game changer and can replace the not so good looking tint screen

Forum statistics

Threads
115,866
Messages
1,093,578
Members
151,094
Latest member
Gelato
Top