How to block options?

Ayaya

Villager
Member
Joined
Nov 19, 2018
Messages
7
Reaction score
0
First Language
Portuguese
Primarily Uses
RMVXA
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
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
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. Please be sure to post your threads in the correct forum next time. Thank you.

 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,661
Reaction score
563
First Language
English
Primarily Uses
RMVXA
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.
 

Ayaya

Villager
Member
Joined
Nov 19, 2018
Messages
7
Reaction score
0
First Language
Portuguese
Primarily Uses
RMVXA
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]
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.
 

Ayaya

Villager
Member
Joined
Nov 19, 2018
Messages
7
Reaction score
0
First Language
Portuguese
Primarily Uses
RMVXA
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.
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,661
Reaction score
563
First Language
English
Primarily Uses
RMVXA
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

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,594
Reaction score
6,525
First Language
Indonesian
Primarily Uses
RMVXA
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.
 

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

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top