How to block options?

● ARCHIVED · READ-ONLY
Started by Ayaya 9 posts View original ↗
  1. On RPG Maker VX Ace you have the command to let the player have options to choose, but there's a way to block one of them if the player haven't done a certain thing?
    I could just make it not appear, but having it with gray color and not enabeled would be cooler.
    Thanks in advance
  2. Only with a script. You'll have to also state which option you want blocked before anyone can tell you more.

    I've moved this thread to RGSSx Script Requests. Thank you.

  3. You can probably use yanfly menu engine to have the commands you want disabled. If it's one of the default commands, you may have to do some work but off the top of my head, I'm thinking it can be done. If it is extra commands from other scripts then you can do what you asked. You just need to set the script to do what you want. But like bgillisp said, only with a script.
  4. bgillisp said:
    Only with a script. You'll have to also state which option you want blocked before anyone can tell you more.

    [move]RGSSx Script Requests[/move]

    Roninator2 said:
    You can probably use yanfly menu engine to have the commands you want disabled. If it's one of the default commands, you may have to do some work but off the top of my head, I'm thinking it can be done. If it is extra commands from other scripts then you can do what you asked. You just need to set the script to do what you want. But like bgillisp said, only with a script.

    I want to disable choices. Like, if you did a specific thing then you'll obtain an information that allows you to have tha choice that would be otherwise disabled.
    I found this plugin, but since there's no "js" folder on RPG Maker VX Ace, i suppose it's only for MV?
    http://himeworks.com/2015/10/disabled-choice-conditions/

    And sorry for the trouble. I'm new here, but I'll post it correctly next time.
  5. Ok so that's a choice option? You can use a conditional branch for that.
    If item is in inventory then choice 1,2,3 if not choice 1,2
    http://himeworks.com/2013/03/choice-options/

    Plugins are for MV, scripts are for VX Ace.
  6. Roninator2 said:
    Ok so that's a choice option? You can use a conditional branch for that.
    If item is in inventory then choice 1,2,3 if not choice 1,2
    http://himeworks.com/2013/03/choice-options/

    Plugins are for MV, scripts are for VX Ace.
    Thank you! It's a really good script and it worked when i tested it in a empty map i use to test this things on the gme.
    However, when i put it on the actual game it comes to the message:
    "line 306: NoMethodError occured
    undeefined method ‘each_with_index’ for nil:NilClass"

    It's not incompatibility with other scripts, since i tried remving them and i got the same message.
    The person who made the script it's not answearing people there anyome, so i just asked here in case someone can help.
  7. That doesn't make sense. It works in an empty project, but not in your project with all scripts removed?
    What scripts do you have added in?
  8. Ayaya said:
    Thank you! It's a really good script and it worked when i tested it in a empty map i use to test this things on the gme.
    However, when i put it on the actual game it comes to the message:
    "line 306: NoMethodError occured
    undeefined method ‘each_with_index’ for nil:NilClass"

    It's not incompatibility with other scripts, since i tried remving them and i got the same message.
    The person who made the script it's not answearing people there anyome, so i just asked here in case someone can help.
    Perhaps you're using a save game. Try to use a new game.
  9. Roninator2 said:
    That doesn't make sense. It works in an empty project, but not in your project with all scripts removed?
    What scripts do you have added in?

    TheoAllen said:
    Perhaps you're using a save game. Try to use a new game.
    The problem was the save files.
    Thank you.