Party size as a variable

SophieChieko

Villager
Member
Joined
Feb 24, 2019
Messages
6
Reaction score
1
First Language
French
Primarily Uses
RMVXA
Hello! I need some help, please!

Is it possible to stock the number of the actors in the party into a variable?

I would like, into some event, to make a conditional branch and choose "if the variable [001: PartySize == 2]", and begin the battle against the boss if the player have got 2 members in the party, for example.

Edit: I found the solution!
Control variables => Selecting my variable PartySize => Set => Other => Party Members
 
Last edited:

Teabone

Veteran
Veteran
Joined
Mar 26, 2019
Messages
31
Reaction score
1
First Language
English
Primarily Uses
RMXP
I actually am ironically looking for the exact same thing. What exactly was your solution?
 

DerVVulfman

Resident Werewolf
Veteran
Joined
Jun 26, 2012
Messages
315
Reaction score
155
First Language
English
Primarily Uses
RMXP
Edit: I found the solution!
Control variables => Selecting my variable PartySize => Set => Other => Party Members
The quote was brief, but accurate.

When you create an event, one of the map event options is "Control Variables" This is where you change or set your RMXP variables.

Now you can add basic values together, fine enough. But you can also have it read values from the map, from characters, from enemies and more. Look towards the bottom-most option: Other. Within, you can choose "Party Members", and this will allow you to set a variable to the number of party members.
 

Teabone

Veteran
Veteran
Joined
Mar 26, 2019
Messages
31
Reaction score
1
First Language
English
Primarily Uses
RMXP
Thank so much this is very helpful and worked perfectly.
 

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

Latest Threads

Latest Profile Posts

If the universe is so big then why won't it fight me?
Does anyone know the name of the game where you play as someone called the batter? I can't remember the name of the game...
Got my R-Tree working /o/


Also here's what it looks like in memory (kind of):


The label on the nodes is the bounding box for all the objects it contains (in this case, the rectangles that make up the walls on the room).
"He, who wields the Excaliburn, will shine brighter than the sun itself, only his will can light up the flames of life"

That awkward moment when you can't tell if your game's bosses are too easy, or if you're too good at your own game >.>
Now I find myself wanting to buff my boss battles so I have a challenge for myself...but I do believe that's going to be too much for players haha!

Forum statistics

Threads
107,348
Messages
1,029,002
Members
139,430
Latest member
crumbkin
Top