Hidden Choice Conditions

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,075
First Language
English




RPG Maker MV gives you a way to offer choice selection to your players through events, and depending on the choices they make, the game will respond differently.

One thing that it doesn’t support, however, is the ability to hide certain choices from view. For example, if you wanted to offer your players a list of quests that they can complete in any order that they wish, and to remove any completed quests from the list, your only option is to create multiple conditional branches for each combination of quests that are currently available, and create separate choice lists for all of those combinations.

With this plugin, you can use a simple event call to hide a choice. Combined with conditional branches and other event commands, you can tailor your events to your needs quickly and easily!

Want to hide some choices? Try this plugin out!
 
More information and downloads available at HimeWorks
Looking for more choice related plugins? Take a look at these:​
 
Last edited by a moderator:

Syndicate

Pandora Network
Veteran
Joined
Dec 20, 2012
Messages
98
Reaction score
75
First Language
English
Why does this have no comments? It's an incredibly fun, and well thought out plugin, thanks for your efforts!

I'll likely use this for my actual project as it allows for a vast amount of quests and unexpected options to appear.
 

DBDragoner

Veteran
Veteran
Joined
Apr 2, 2012
Messages
123
Reaction score
89
One of my all time favorite plugins. Thank you for taking the time to make this.
 

JJ Sonick

Villager
Member
Joined
Feb 23, 2013
Messages
23
Reaction score
4
First Language
English
Choices are wonderfully flexible now with this series of plugins - thanks!

Is it correct that, if you're using all four of your choice plugins, Hidden Choice Conditions needs to be listed last, but the other three (Large Choices, Disabled Choices and Conditional Choice Text) can be in any order as long as they're above Hidden Choice Conditions?
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,075
First Language
English
Choices are wonderfully flexible now with this series of plugins - thanks!


Is it correct that, if you're using all four of your choice plugins, Hidden Choice Conditions needs to be listed last, but the other three (Large Choices, Disabled Choices and Conditional Choice Text) can be in any order as long as they're above Hidden Choice Conditions?
Yes, you should be able to order them however they want as long as they're above hidden choices.
 

Kuronokun

Villager
Member
Joined
Aug 10, 2014
Messages
21
Reaction score
2
First Language
French
Primarily Uses
Hello. This plugin is very usefull. Thank you.

I have a question : if i wanna hide the choice 3 if the switch 51 is off i write this :

hide_choice(3, "$gameSwitches.value(51) === false")

But what i have to write if i want to hide the choice 3 if the variable 10 is > or = to 5 ?

Thank you for your answer !
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,075
First Language
English
Hello. This plugin is very usefull. Thank you.

I have a question : if i wanna hide the choice 3 if the switch 51 is off i write this :

hide_choice(3, "$gameSwitches.value(51) === false")

But what i have to write if i want to hide the choice 3 if the variable 10 is > or = to 5 ?

Thank you for your answer !
Use the || operator to check for logical OR.

Code:
hide_choice(3, "$gameVariables.value(10) > 10 || $gameVariables.value(10) === 5")
 
Last edited by a moderator:

Kuronokun

Villager
Member
Joined
Aug 10, 2014
Messages
21
Reaction score
2
First Language
French
Primarily Uses
Use the || operator to check for logical OR.

hide_choice(3, "$gameVariables.value(10) > 10 || $gameVariables.value(10) === 5")
Thank you for this quick answer !
 

EastsideTrouble

Veteran
Veteran
Joined
Feb 8, 2014
Messages
33
Reaction score
8
First Language
English
Primarily Uses
I loved your scripts for VXA and am glad to see you are making so many for MV.  Just a simple question--how do I hide choices based on whether a particular actor is in  the party? Thanks.
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,075
First Language
English
I loved your scripts for VXA and am glad to see you are making so many for MV.  Just a simple question--how do I hide choices based on whether a particular actor is in  the party? Thanks.
You can use a regular conditional branch to check if the actor is in the party, and use the plugin command to hide the choice.

If you prefer script call you can use the formula

Code:
$gameParty.members().contains($gameActor.actor(ID))
 
Last edited by a moderator:

yongilcool

Veteran
Veteran
Joined
Nov 7, 2014
Messages
60
Reaction score
10
First Language
English
is it possible to comeback to the last choice that I made?

for example, i'm using large choice and hidden choice plugin and

i just chose 11th choice then choice menu is turned off and  turned on again and i'm back to the 1st choice and

i'll have to scroll down to 11th choice again to choose the same one.

would it be possible for me to turn off the choice menu and comeback from the 11th choice after i chose 11th previously so i don;t have to scroll down to it again?

don't know if i'm making myself clear. if this was possible, thnk you! :)
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,075
First Language
English
is it possible to comeback to the last choice that I made?


for example, i'm using large choice and hidden choice plugin and


i just chose 11th choice then choice menu is turned off and  turned on again and i'm back to the 1st choice and


i'll have to scroll down to 11th choice again to choose the same one.


would it be possible for me to turn off the choice menu and comeback from the 11th choice after i chose 11th previously so i don;t have to scroll down to it again?


don't know if i'm making myself clear. if this was possible, thnk you! :)
What happens if the choice is hidden after you come back to it?
 

yongilcool

Veteran
Veteran
Joined
Nov 7, 2014
Messages
60
Reaction score
10
First Language
English
What happens if the choice is hidden after you come back to it?
 choice won't be hidden during the coming out and comeback to the choice because i'm planning to use this only in battle! you know? just hit some skill and comeback to the skill menu you know?
 

Silenity

Veteran
Veteran
Joined
Dec 17, 2013
Messages
654
Reaction score
246
First Language
English
Primarily Uses
RMMV
So I'm making a fishing event and I'd like utilize this plugin.

However, I seem to have hit a stump.

I'm trying to make 3 choices for the player.

No bait

Fake bait

Live bait

If the player does not have any bait I'd like only the no bait option to appear.

If the player has at least 1 fake bait then both no bait and fake bait option will appear.

If the player has at least 1 fake and live bait then all 3 options will appear.

>_<
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,230
Reaction score
3,075
First Language
English
So I'm making a fishing event and I'd like utilize this plugin.


However, I seem to have hit a stump.


I'm trying to make 3 choices for the player.


No bait


Fake bait


Live bait


If the player does not have any bait I'd like only the no bait option to appear.


If the player has at least 1 fake bait then both no bait and fake bait option will appear.


If the player has at least 1 fake and live bait then all 3 options will appear.


>_<
First one always shows, so you don't need to do anything.


Second option only shows if player has "fake bait" item. You can use a conditional branch for this (4th page, check for item)


Use the plugin command depending on whether the player has it or not.


You can do something similar for the live bait option.
 

krizmn

Occultist
Veteran
Joined
Jun 9, 2015
Messages
117
Reaction score
9
First Language
english
Primarily Uses
This is something that should always come with standard RPG Maker lol.  It is beyond useful.
 
Joined
Mar 12, 2018
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hi, I was just wondering how you could disable menu options based on switch values. Thank you for reading my post. Panda
 

clitvin

Veteran
Veteran
Joined
Oct 26, 2015
Messages
95
Reaction score
11
Primarily Uses
In the latest version this plugin gets stuck in a infinite loop.
Had to comment out out the following section to get it working again, but it looks ugly.
Anyone have a fix?


upload_2018-5-10_22-25-36.png
 

Espilonarge

Veteran
Veteran
Joined
Apr 24, 2016
Messages
128
Reaction score
59
First Language
English
Primarily Uses
It seems this plugin is not compatible with Yanfly's Extended Message Pack 1. It seems that Yanfly's plugin has a function that makes changes to the Choice command window size which if you hide a choice, both this plugin and Yanfly's will instantly crash the game (due to an argument over the resizing function for the Choice window from both plugins).

EDIT

And of course I only just realized that Yanfly's plugin already has a hide/show choice plugin command. Disregard!
 
Last edited:

furan

Villager
Member
Joined
May 10, 2018
Messages
19
Reaction score
0
First Language
English
Primarily Uses
RMMV
And of course I only just realized that Yanfly's plugin already has a hide/show choice plugin command. Disregard!
Where is that plugin command?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Writing out an idea for the No Travel Game Jam. I have a general plot and challenge written out, it's just a matter of filling the rest in and making it interesting.
A definite difficult time right now. How is everyone doing during this pandemic? I already have seen furloughs and layoffs.
Hollow 1977 wrote on Archeia's profile.
Hope you and your family are doing well during this difficult time. :)
My elderly neighbor whom I've been buying groceries for just got carried out of his home on a stretcher by guys with hazmat suits. Considering I've been his only point of contact for the past month it's probably safe to say my boss was right to tell me to stay home once I developed a mild cough after all.
Damn. All these new features to the forums. Takes some getting used to.

Forum statistics

Threads
95,642
Messages
930,674
Members
125,963
Latest member
highchloride
Top