Adding subsequent choice options

Hi there. It's a bit complex to explain what I'm trying to do, but here goes.

So basically, I'm thinking, is there a way to unlock more choices when a certain choice has been made first? For example, in many modern RPGs, you have additional options when you select a first option. For example.

If I talk with a character, I have two options :

-Who are you?

-Goodbye.

Now let's say I select the first option "Who are you?", the character answers. I now unlock a third option "What is this place?" for example. So I would have

-Who are you?

-What is this place?

-Goodbye.

And this could be done a couple of times. I'm aware I could do this with switches/self-switches or even variables, but I try to avoid copy/pasting the same content on a single event as less as I can. Maybe is there a simple way to do it I haven't thought about? Or perhaps a script?  Something along the lines of

> Show Choices

[Who are you]

(dialogue)

Control self-switch A

[script, Conditional branch self-switch A ON]

[What is this place]

(dialogue)

[Goodbye.]

Any thoughts?
If you want the player to have to choose the "Who are you?" option each time they talk to the npc you can use nested choices.  If you want the new option to be present anytime after the player chooses "Who are you?", you could use self switches.  If you want the npc to have many options I would use a variable for the npc with each option setting the variable to a specific number.  Although with the default show choices you can only have a max of 4 choices at any one time, if you need more than that you would need a script that expands the number of choice slots.
If you want the player to have to choose the "Who are you?" option each time they talk to the npc you can use nested choices.  If you want the new option to be present anytime after the player chooses "Who are you?", you could use self switches.  If you want the npc to have many options I would use a variable for the npc with each option setting the variable to a specific number.  Although with the default show choices you can only have a max of 4 choices at any one time, if you need more than that you would need a script that expands the number of choice slots.
I'm thinking about it and maybe I'm not explaining right. I don't exactly need more choices (thanks to Hime's Large choices script), but rather options that appear after a certain choice has been made; basically I'm trying to avoid a lot of copy/paste. However, the more I think about it, the more I'm sure I'm gonna need a script for that.
You can use the self-switch/variable idea along with some conditions for hiding/showing choices using scripts such as Choice Options.

For example, if you use a variable to keep track of how many options should be displayed, you could say

Option 1 (always shown)Option 2 (shown when var == 1)Option 3 (shown when var == 2)...and so on.Choice options provides script calls that you can use to control when each choice would be shown.
You can use the self-switch/variable idea along with some conditions for hiding/showing choices using scripts such as Choice Options.

For example, if you use a variable to keep track of how many options should be displayed, you could say

Option 1 (always shown)Option 2 (shown when var == 1)Option 3 (shown when var == 2)...and so on.Choice options provides script calls that you can use to control when each choice would be shown.
I use this combined with Tsukihime's more choices script to deal with a house upgrade system and they work pretty well
You can use the self-switch/variable idea along with some conditions for hiding/showing choices using scripts such as Choice Options.

For example, if you use a variable to keep track of how many options should be displayed, you could say

Option 1 (always shown)Option 2 (shown when var == 1)Option 3 (shown when var == 2)...and so on.Choice options provides script calls that you can use to control when each choice would be shown.

But of course, I mean your scripts are already giving me pretty much everything I need, why didn't I think of checking your scripts first? You're my savior, again. I'll get it and try it out tonight, thank you!
Ahhhhh, I just remembered. I actually did try that script before, and it looks nice, but it's incompatible with Galv's visual novel choices. Well, bummer. Now to choose which one I keep...
For visual novel choices, try placing it below choice options.
Hime to my rescue again. I'll have to learn how to use it properly... not completely sure on how to make a conditional if self-var = true (is that even close?) but I'll figure it out. THANKS A BUNCH!
hide_choice(3,"$game_switches[121] == false")

this means that if switch 121 is false then option 3 will be hidden
hide_choice(3,"$game_switches[121] == false")

this means that if switch 121 is false then option 3 will be hidden
Ok yeah I can understand it. So for a variable, instead of $game_switches[x], I assume it would be $game_variables[x]? And is it doable with self-switches of an event?
I have no idea, only used it for global switches so far
Ok yeah I can understand it. So for a variable, instead of $game_switches[x], I assume it would be $game_variables[x]? And is it doable with self-switches of an event?
Yes, $game_variables[x] would refer to global variable x.

For self-switches, you would say something like

$game_self_switches[[$game_map.map_id, @event_id, "A"]]Which will refer to self-switch A for the current event on the current map.Problem is, script call box may not be able to fit that on one line

You might break it up like this

Code:
key = "[$game_map.map_id, @event_id, 'A'] == true"cond = "$game_self_switches[#{key}]"disable_choice(1, cond)
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/adding-subsequent-choice-options.40198/