Is there a way to check which characters are in the party?

Ink-Dragon

Veteran
Veteran
Joined
Jul 20, 2013
Messages
43
Reaction score
19
First Language
English
Primarily Uses
Ok, first of all I'm quite new at this, so there might be an obvious solution that I'm missing, but I can't seem to figure it out.

I want to have a place that can allow a character to change what class they are, like a fighter becoming an archer, or a healer to a mage, etc. Upon activating it, it would give you a choice of which actor's class you want to chage. But the problem is, not all the PC's will be with you at all times, and I can't figure out how to make it only show the characters currently in your party as options. I could make it branch depending on if Character A is or isn't in the party, but that would then create a very long event, as it would have to check Character B twice, once for if Character A is with you, and once for if they aren't, the Character C would need four checks, etc.(though I might be missunderstanding how it works) So I was wondering if there was an easier way?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
there are several ways, and no - you don't need multiple checks for actors B or C, you can check each actor independantly one after another.

If you don't want to use a script, then you could (for example) store which actors are in the party in four variables (set them in the moment you add an actor to the party), or you could use control variable:Game data to read the ID's of the party members, or several other options.

Which option is best depends on your game: the number of possible actors, the number of possible classes to switch to and so on.

If you can tell us more then we can point you to the correct option.
 

Ink-Dragon

Veteran
Veteran
Joined
Jul 20, 2013
Messages
43
Reaction score
19
First Language
English
Primarily Uses
I've tried using Yanfly's scrip, but I can't find a way to have the game open the class menu, just ways to enable/disable the option on the menu...

there are several ways, and no - you don't need multiple checks for actors B or C, you can check each actor independantly one after another.

If you don't want to use a script, then you could (for example) store which actors are in the party in four variables (set them in the moment you add an actor to the party), or you could use control variable:Game data to read the ID's of the party members, or several other options.

Which option is best depends on your game: the number of possible actors, the number of possible classes to switch to and so on.

If you can tell us more then we can point you to the correct option.
Well, I have six different characters, but only four can be with you at one time. With classes, I'm not sure about the exact amount yet, I was going to have five basic classes, then lots of sub-classes, like a basic class could be a Mage, then there could be lots of different sub-classes, like one that can do more damage, one that can use healing magic as well as damaging, one that can use Swords, etc.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top