choice tied to a conditional?

Hello everyone. Is it possible to have choices in "show choice" appear only if a condition is true? For example, if you possess an item. I often see this in games on RPG Maker, but I've never understood how to do it.
Yeah, just have a conditional branch that has "if party has item x" show choice.

That's like one of the most basic functions of MZ, so I recommend doing some tutorials.
Yeah, just have a conditional branch that has "if party has item x" show choice.
Is that the only solution? Because If I have 4 different conditionals (for example: 4 different items to acquire in a non-linear way) I'd need to do a LOT of "if party has itemx" to show the exact combination
There are several plugins that hide/show choices depending on whether certain conditions are met. (Some also enable/disable choices.) E.g., Visustella Message Core has this functionality (the plugin is in their free sample project), and a quick Google search for "conditional choices plugin rpg maker mz" led to a free one by WinterDream, and a paid one by Casper Gaming as well.
the visustella message plugin has a tag you can use for choices to hide or disable them based on switches. to keep in line with your example, you could set 1 switch for each of your items, flip them if the player has your 4 items before the choice, and then use them to show/hide the choices you need to show.
Yes, that is the only solution. That just how logic works. If you got 500 conditions, you'll have to check for all of them, how else would the game know which ones are true and which aren't? You can do it via switch, variables, items, but you'll have to check them all.

There are multiple plugins to hide choices, but ultimate these always seem to require to run a script call afaik. But ultimately you'll still have to run the checks.
the way i read it, the concern wasnt whether or not a check has to be done to show the show choices event, but rather how to avoid the number of possible combinations needed to show only the relevant choices within the show choices event.

like if there were 4 choices and OP wanted to only show them if the player had the item without a plugin, thats not 4 conditionals, thats 15. 15 different show choice commands and the nested logic to represent every combination of owning those 4 items
the way i read it, the concern wasnt whether or not a check has to be done to show the show choices event, but rather how to avoid the number of possible combinations needed to show only the relevant choices within the show choices event.

like if there were 4 choices and OP wanted to only show them if the player had the item without a plugin, thats not 4 conditionals, thats 15. 15 different show choice commands and the nested logic to represent every combination of owning those 4 items
yes exactly.
The most clear example I can think of is: you can recruit 4 characters in your team in a non linear order, then you choose who you want to date.
choice:
actor 1
(if actor 2 is in your party) actor 2
(if actor 3 is in your party) actor 3
(if actor 4 is in your party) actor 4
nevermind

instead of
if actor 2 is in your party, if actor 3 is in your party, if actor 4 is in your party: (show all choices)
if actor 2 is in your party, if actor 3 is in your party, if actor 4 is NOT in your party:
if actor 2 is in your party, if actor 3 is NOT in your party, if actor 4 is in your party:
That's so much conditionals for something so silly

Original thread: https://forums.rpgmakerweb.com/threads/choice-tied-to-a-conditional.166323/