Disabled Choice Conditions

RPG Maker does not come with a way to disable individual choices from a list of choices. For example, if the player shouldn’t be allowed to select a particular option, but you still want to show it, there’s basically no way to do it.

This plugin provides an easy way for you to disable each choice based on your own custom conditions using tools that you are already familiar with!

Download

Plugin: download here (right-click and save as)

Related Plugins

Additional Reading

Want to read more about this plugin? Here are some dev logs and tutorials

Installation

Download the plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the DisabledChoiceConditions plugin.

Once it is in your list of plugins, turn the plugin on.

Usage

Take a look at the following image:

choiceNumbering1

The numbers along the left is how choices are numbered. You will use these numbers when disabling choices.

There are two ways to disable a choice, depending on your preferences when it comes eventing and scripting:

1. Using a simple script call

To disable a number using script calls, use this

   disable_choice( choiceNumber )

Where the choiceNumber is the number of the choice that you wish to disable.

Advanced Usage

disablingChoicesMVEx3

If you want to include your condition as a formula instead of using conditional branches, you can pass in a formula is a valid Javascript formula.

For example, to disable choice 3 if switch 4 is OFF, you can say

   disable_choice(3, "$gameSwitches.value(4) === false")

Script calls are generally faster than using a series of conditional branches, but they require you to have some knowledge about Javascript. Of course, you can always ask the community how to write certain conditions and then you’ll know.

2. Using a plugin command (For MV only)

disablingChoicesMVEx12

This option allows you to manually disable a choice by simply creating a plugin command and writing

   disable_choice choiceNumber

Where `choiceNumber` is the number of the choice that you wish to disable. Choices are numbered based on the order that they appear in the list, starting at 1.

For example, if you wish to disable the second choice, you can write in your plugin command

   disable_choice 2

Which set of choices do conditions apply to?

Disable conditions apply to the immediate set of choices, on the same indentation level.

disablingChoicesMVEx13

As a rule of thumb, you should declare all disable conditions immediately before your choices. To avoid breaking up messages and choices, you can place the disable conditions before any messages as well.

You may also like...

40 Responses

  1. I’m not that much of a online reader to be honest but your blogs really nice, keep it up!
    I’ll go ahead and bookmark your website to come back later on. Cheers

  2. Howdy! This is my first comment here so I just wanted to give a quick shout out and say I truly enjoy reading through your posts.

    Can you recommend any other blogs/websites/forums that cover the same topics?
    Many thanks!

    Also visit my page: vpn special code

  3. Great delivery. Outstanding arguments. Keep up the amazing work.

    My web site; vpn special coupon

  4. Pretty nice post. I just stumbled upon your weblog and wished to say that
    I’ve truly enjoyed browsing your blog posts.

    In any case I’ll be subscribing to your rss feed and I hope you write again soon!

  5. Hmm it looks like your site ate my first comment
    (it was super long) so I guess I’ll just sum it up what I had written and say,
    I’m thoroughly enjoying your blog. I too am an aspiring blog
    blogger but I’m still new to the whole thing. Do you have any tips and hints for inexperienced blog writers?
    I’d really appreciate it.

    Here is my website vpn special coupon code 2024

  6. vpn 2024 says:

    Excellent post. I was checking constantly this weblog and I am impressed!
    Very useful information specifically the ultimate phase 🙂 I handle such info much.
    I was looking for this certain information for a long time.
    Thanks and good luck.

    My site :: vpn 2024

  7. I was able to find good information from your articles.

  8. Right away I am ready to do my breakfast, after having my breakfast coming yet again to read
    other news.

    Also visit my web blog: vpn special coupon code 2024

  9. What i don’t realize is in fact how you’re not really
    a lot more smartly-preferred than you may be right now.

    You are so intelligent. You understand therefore significantly
    on the subject of this topic, made me individually believe it from numerous varied angles.
    Its like women and men don’t seem to be involved except it’s something to accomplish with
    Woman gaga! Your individual stuffs outstanding.

    Always maintain it up!

    my homepage; vpn special coupon code 2024

  10. Amazing! Its in fact amazing piece of writing,
    I have got much clear idea on the topic of from this post.

  11. Kiki says:

    You really make it appear really easy along with your presentation but I find this topic to be really something
    which I feel I might by no means understand. It seems too complex and extremely vast
    for me. I am having a look ahead to your subsequent post, I will attempt
    to get the cling of it!

  12. Kaileigh says:

    I got this website from my pal who told me on the topic of this web site and at the moment
    this time I am browsing this web page and reading very informative posts here.

  13. Teodora says:

    If you wish for to obtain a good deal from this paragraph
    then you have to apply these techniques to your won webpage.

  14. Daryl says:

    What’s up, just wanted to say, I liked this blog post.
    It was inspiring. Keep on posting!

  15. Jaquana says:

    You really make it appear so easy together with your presentation however I to find this matter to be
    really one thing which I think I would never understand.
    It kind of feels too complicated and extremely extensive for me.
    I am looking ahead for your next put up, I’ll try to
    get the cling of it!

  16. Trisha says:

    An interesting discussion is worth comment. I believe that you ought to write more about this subject,
    it may not be a taboo subject but typically people do not discuss these topics.
    To the next! Many thanks!!

  17. Juliene says:

    I’m excited to discover this web site. I want to to thank
    you for ones time for this fantastic read!! I definitely appreciated every bit of
    it and i also have you bookmarked to look at new stuff in your web site.

  18. Latoia says:

    Thank you for the good writeup. It in fact was a amusement account it.
    Look advanced to more added agreeable from you! However,
    how could we communicate?

  19. Mickle says:

    Keep on working, great job!

  20. Tannya says:

    This design is spectacular! You definitely know how to keep a reader amused.
    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Excellent job.
    I really loved what you had to say, and more than that, how you presented it.
    Too cool!

  21. Roxy says:

    An impressive share! I’ve just forwarded this onto a friend who was conducting a
    little homework on this. And he in fact ordered me lunch because I stumbled
    upon it for him… lol. So allow me to reword this…. Thanks for the meal!!

    But yeah, thanks for spending time to discuss this issue here on your
    web page.

  22. Abril says:

    Heya this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML.
    I’m starting a blog soon but have no coding knowledge so I wanted to get advice from
    someone with experience. Any help would be enormously
    appreciated!

  23. Rosaline says:

    Write more, thaats all I haave to say. Literally, itt seems as though you relied on the video to make your point.
    You clearly know what youre talking about, why
    waste your intelligence on just posting videos to your weblog when you could be giving us sojething
    enlightening tto read?

    Also visit my homepage – Rosaline

  24. I like this! Is there anything further I should look into next? Or is this okay?

  25. Fashion says:

    May I have information on the topic of your article?

  26. Maple says:

    Bro I looked at this for 3 days straight wondering why it wasn’t working and then realized that I didn’t enable the plugin

  27. Ryuuji says:

    I feel stupid to have put so much time and efforts into creating a working event that does more or less the same without plugins.
    At the difference my eventing takes 500 lines where this plugin only takes a few. xD

    Thanks for this amazing plugin, worth alot of time and effort with a few single clicks.

    Btw, you can also use :

    disable_choice(5, "$gameVariables.value(ID) === Value")

    Amzing plugin.

  28. Anonymous says:

    If the choice I want to disable is INSIDE another choice event, using the disable choice plugin command disables the choices from the first choices. Is there a way to disable the choices of the choices displayed after the first one?

    Like

    ◆Show Choices:Yes, No (Window, Right, #1, #2)
    :When Yes
    ◆Show Choices:Yes, No (Window, Right, #1, #2)
    :When thing 1
    ◆plugin command disable_choice 1
    :When thing 2
    ◆plugin command disable_choice 2
    :End

    :When No

    :End

    those would instead disable “yes” or “no” not “thing 1” and “thing 2”

    • Anonymous says:

      Sorry I meant

      ◆Show Choices:Yes, No (Window, Right, #1, #2)
      :When Yes
      ◆Show Choices:thing 1, thing 2 (Window, Right, #1, #2)
      :When thing 1
      ◆Plugin Command:disable_choice 1

      :When thing 2
      ◆Plugin Command:disable_choice 2

      :End

      :When No

      :End

      • Anonymous says:

        Nevermind, I just check for a switch before any choie I want to disable and disable it there with plugin command.

  29. Mama says:

    What if Choice in Choice ?

  30. adjin77 says:

    Hi, just to know is it possible to disable the choice depending on item possession ?

    • Hime says:

      Yes, in the conditional branch event command, the 4th page has options such as “Item”, “Weapon” and “Armor”. These are used to check whether you have those items or not.
      You can create a conditional branch and then just use the plugin command to disable a choice.

  31. Taka says:

    Could you add “limit time to choice or default special choice ” option ?

  32. David says:

    I could only find this page through youtube and not the website, I might not be looking in the right place, but thought I’d let you know! Great Plugin though!

  33. Nalia says:

    This is amazing! Thank you very much.

Leave a Reply

Your email address will not be published. Required fields are marked *