VXAce Dialogue option that changes depending on the switches that's on/off

Hello! I recently got back to making a game in RPGVXAce. I'm making a game for me and my friends and I want the player to be able to change the active character to whoever they want (so long as they've already encountered that said character).

What I plan on doing is making an item which can be accessed in the inventory, then when it's used, the game gives options on who to change as the active character. The thing is, I'm having a little trouble regarding conditional branches. I want the options to be like this:

(Encountered Chara1)
> Change to Chara1

(Encountered Chara1, Chara2)
> Change to Chara1
> Change to Chara2

(Encountered Chara1, Chara2, Chara3)
> Change to Chara1
> Change to Chara2
> Change to Chara3

Those who they haven't met yet won't be displayed.

Thank you in advance!
If you're not averse to using scripts, I'd recommend Hime's Choice Options. It's great for when you want a choice to appear only when certain conditions are met.
If you're not averse to using scripts, I'd recommend Hime's Choice Options. It's great for when you want a choice to appear only when certain conditions are met.
Thank you so much!! I'll try it out!
I second Pear's suggestion. That plugin would fit finely for this suggestion.

The only way that I can think of to do this is to use variables in conjunction with conditional branch.

Like, Variable ActiveParty equal to 0 means only Actor 1 is in the party, Variable ActiveParty equal to 1 means Actor 1 and Actor 2 are in the party, and so on. The conditional branch, if activeparty = what, show choices, and switch.

If later, you have party configurations when party switches up, you could set that to negatives. Like, Variable ActiveParty equal to -1 means Actor 2, 3, and 5 are the party, as an example.
I second Pear's suggestion. That plugin would fit finely for this suggestion.

The only way that I can think of to do this is to use variables in conjunction with conditional branch.

Like, Variable ActiveParty equal to 0 means only Actor 1 is in the party, Variable ActiveParty equal to 1 means Actor 1 and Actor 2 are in the party, and so on. The conditional branch, if activeparty = what, show choices, and switch.

If later, you have party configurations when party switches up, you could set that to negatives. Like, Variable ActiveParty equal to -1 means Actor 2, 3, and 5 are the party, as an example.
1751463460778.png


I haven't played around much with variables and stuff before. Do you mean something like this?
Doing this purely with events will be a pretty gnarly series of nested conditions, but for a small number of party members, is possible. And you'll only be doing this for one item/event, so it's a manageable approach to the project.

However, it's more elegant and scalable to use a script that actually changes the choices available.

Original thread: https://forums.rpgmakerweb.com/threads/dialogue-option-that-changes-depending-on-the-switches-thats-on-off.178660/