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

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?
Mmm you should check my guild system and Yanfly Class System, I think you can achieve both things with them
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.
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.

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-check-which-characters-are-in-the-party.20437/