MV random, non-repeatable choices?

hello! hope everyone's doing well today (and if not, i hope things get better!) 😍

i'm attempting to event a scene where you can ask an npc a random question so you can get to know them better. out of the twelve possible options, three different ones would be selected and appear on screen.

for example, and for clarity's sake: you ask billy a question - the possible options are "cat", "dog", "bird", "windmill" and "butter", but of the five, only the first three are shown, with the last two being excluded and any possible repeats null and void.

is this doable? i have a vague idea of how to approach it already via variables, but every attempt so far does not factor in the "non-repeatable" aspect of things. would i be needing a plugin for this, or can i achieve this via eventing?

thank you so much in advance for your help! :kaosalute:
You can just have that random variable run inside a conditional branch with a switch (or self switch) "Random choices".

The condition would be if "Random choices" = OFF, roll the random variable for the choices, then turn the switch on.

If the npc is talked to again, the choices should remain unrandomized. I'm not sure how you are hiding choices, but yanfly and hime do have plugins to do that, which makes it all easier since the show choice command would then just hold all possible choices and you'd just hide random ones with the variable. They would remain hidden as well and you could even run a hide command on choice already selected so they wouldn't show up again.

1758792584456.png


1758792662348.png

Hime also has a plugin for longer lists of choices.


On a side note, I did have some compatibility issues with Hime's choice plugin and yanfly, I can however confirm the large choices work without issue, and one can use yanfly's extended message pack 1 to hide choices just as well.

Original thread: https://forums.rpgmakerweb.com/threads/random-non-repeatable-choices.180288/