Viewing all dialogue options once in a scene

i am trying to make a scene that can only continue once the player has selected each choice at least 1 time and I’m having difficulties implementing it in an efficient way.

I currently have it set that at the end of each choice, it triggers a switch, then jumps to the label where the choices are offered again. After the label, there is a large conditional branch that checks if all the switches have been triggered, and if so, jumps to the next scene instead of offering the choices. Since there are 6 choices the player needs to view, I’d rather not have to create 6 separate switches if I can help it.

Does anyone know of a more efficient way to solve this?
Switches seems like the most clean way to do this. If you don't want to clutter your global switches space you could look into a plugin that allows for more than the standard 4 self switches.
Without plugin you could use a variable to either store an array or an object.
With just eventing:
Whenever you're about to turn on a switch, check if it's off - if so, increase a variable by 1. Then instead of conditionals that check if all switches are on, just check if that variable is equal to 6.

I'd also recommend reserving around 20 switches for things like this - i.e. temporary switches that you only use inside a single non-parallel event. You'd be able to use 6 of them in this event, but then use the same ones for something completely different in another event. Just make sure to set them all to false at the start of any event where you need them.

With scripting:
You can store the choices seen in an array. Create it like so (in a script command):
$gameVariables.setValue(42, Array(6).fill(false));

When a choice is made, set one of the values to true like so:
$gameVariables.value(42)[index] = true;
Where index is a number from 0 to 5 that indicates which value to change.

Then to check if all values are true, use a conditional branch with a script:
$gameVariables.value(42).every(x=>x)
@Mac15001900 If you're going eventing, you don't need an array - you could just use one variable and bitwise operators 😉

But I think just having a handful of switches is more sane. It's not like you're likely to run out anytime soon; plus, if you won't encounter that event page again, you can recycle those switches as Mac recommends.
@Mac15001900 If you're going eventing, you don't need an array - you could just use one variable and bitwise operators 😉

But I think just having a handful of switches is more sane. It's not like you're likely to run out anytime soon; plus, if you won't encounter that event page again, you can recycle those switches as @eomereolsson recommends.Thinking on it, I think it would be best for me in this case to have switches dedicated to scenes like this. One and done scenes that I can utilize later. If I start conversations by switching them all of, I can use them at a different point without cluttering my list of switches with a bunch of one-offs.

Thank you all for the suggestions. I think reserving switches for conversations like this will work best. I can always reuse the switches by starting a similar type of conversation with all of them off. I appreciate your help!

Original thread: https://forums.rpgmakerweb.com/threads/viewing-all-dialogue-options-once-in-a-scene.166022/