Hidden Choice Conditions

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,555
Reaction score
3,808
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
76
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
24
Reaction score
5
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,555
Reaction score
3,808
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,555
Reaction score
3,808
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
39
Reaction score
9
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,555
Reaction score
3,808
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,555
Reaction score
3,808
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
671
Reaction score
262
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,555
Reaction score
3,808
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
102
Reaction score
12
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
141
Reaction score
64
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 Posts

Latest Profile Posts

I will be streaming RPG Maker demos very soon
Not. Enough. TIME.
Ami
--- Cheating ---

Hero: I can't Stand this! (Activate Infinite HP, Stats 999)
Game Police: Hold right there!
Hero: What happened,sir?
Game Police: You're under arrest because Using Cheat in the Game,illegally!
(Handcuffing the Hero)
Hero: Huh???
Game Police: You have the Punishment to Not be in this world: 6 Months
Hero
: (Shocking) WHAT???
Need advice that should be adjusted
Some local cursed and attacked me because I said children should learn copyright....

Forum statistics

Threads
103,131
Messages
997,503
Members
134,609
Latest member
BuilderInc
Top