Disabled Choice Conditions

Did you want to disable some choices if conditions weren't met? Maybe the player needs to buy a ticket before they can board a ship to a specific city, or certain items aren't available for selection for other reasons.

How about just making a single script call

Code:
disable_choice(1)

To disable the first choice on the list? Here's an example:



The above was done with a simple event:

1598244244966.png


Should make things easier

Download

Get it here: http://himeworks.com/2015/10/disabled-choice-conditions/
Terms of use: http://himeworks.com/terms-of-use/
What happens if, for example, they buy the ticket? Will the choice be enabled just fine or is there an "enable" choice command that is needed?
Is there a way to hide the disabled choices instead of just greying them out?
What happens if, for example, they buy the ticket? Will the choice be enabled just fine or is there an "enable" choice command that is needed?

The disabling is temporary when you run the event. Every time the event runs, it checks if it's disabled

Is there a way to hide the disabled choices instead of just greying them out?

That will be a separate plugin
Will the Plugin Command be updated to work for MZ so we have that option along with the direct script call?
Will the Plugin Command be updated to work for MZ so we have that option along with the direct script call?

Would it easier to use the plugin command than the script call?
Would it easier to use the plugin command than the script call?
It doesn't matter to me a whole lot, but I like the convenience of Plugin Commands since you can access the command directly, instead of having to close the Event Editor and open the Plugins Manager to find the exact Script Call to use.
It doesn't matter to me a whole lot, but I like the convenience of Plugin Commands since you can access the command directly, instead of having to close the Event Editor and open the Plugins Manager to find the exact Script Call to use.

That makes sense. I'll make it available.
For me sometimes I forget the script call as well so having to go look it up ends up wasting more time.

Original thread: https://forums.rpgmakerweb.com/threads/disabled-choice-conditions.125911/