Would you like show/hide options in Show Choice?

  • Yes

    Votes: 23 67.6%
  • No

    Votes: 2 5.9%
  • Yes but not important

    Votes: 9 26.5%

  • Total voters
    34

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,659
Reaction score
2,001
First Language
English
Primarily Uses
RMMV
Description of the Feature:
  • Have checkboxes for each option in a Show Choice command to show/hide them, possibly with a selection for a switch to tie their state to

Code for Implementation:
Not so much how it would be coded in core, but here's how I did a dynamic choice list in my Winterruption game:
Code:
$gameMessage.setChoiceBackground(0);
$gameMessage.setChoicePositionType(2);
$gameMessage.setChoiceCallback(function(n) {
  $gameVariables.setValue(15, choices[n]);
}.bind(this));
choices = ['Any idea where you argued?', 'Do you know what was argued about?'];
if (($gameSwitches.value(18) || $gameSwitches.value(19) || $gameSwitches.value(20) || $gameSwitches.value(22)) && ($gameSwitches.value(23) || $gameSwitches.value(25) || $gameSwitches.value(27) || $gameSwitches.value(28)) && ($gameSwitches.value(26) || $gameSwitches.value(29) || $gameSwitches.value(30) || $gameSwitches.value(31))) {
choices.push('I think I know what happened...');
}
if (!$gameMessage.isBusy()) {
  $gameMessage.setChoices(choices, 0, -2);
  this.setWaitMode('message');
}

The basic idea is that choices would be filtered based on switch conditions, so you could have options show up or disappear depending on what the player has done.

Mockups:
I lack the ability to do this as present, I'll try to edit a mockup in later.

Why is this feature good?
This feature is great because of the following:
  • Puppies
  • Instant Gratification
  • More dynamic games, especially visual novels, puzzlers and mystery

Possible issues with this feature?
Issues that might arise from this feature:
  • Additional game bugs related to accidentally showing/hiding a choice that shouldn't have been shown/hidden
  • Loss of hair
  • That's about it
 

mikey1393drago

Dragon Fanatic
Veteran
Joined
Aug 31, 2016
Messages
69
Reaction score
6
First Language
English
Primarily Uses
RMVXA
It does seem interesting, but not sure if I would need it exactly. It depends when I make more things in my games that may need this feature or not.
Then again. Would this work for VX Ace?
 

fizzly

Veteran
Veteran
Joined
Mar 23, 2012
Messages
802
Reaction score
517
First Language
Polish
Primarily Uses
RMMV
Definitely yes, it should be implemented in MV from the beginning! "Show choices" command is kind of limited without dependings from switches.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,659
Reaction score
2,001
First Language
English
Primarily Uses
RMMV
@mikey If you mean the feature, yeah. If you mean the code I posted, you can do the same thing with Ruby.
 

Ghost of Christmas Kloe

The Icecream Princess
Veteran
Joined
Nov 15, 2015
Messages
1,548
Reaction score
960
First Language
English
Primarily Uses
RMMZ
Why is this feature good?
This feature is great because of the following:
  • Puppies
  • Instant Gratification
We get puppies!?

A-anyway, sorta like Himework's Plugin HERE but as an inbuilt plugin? That would be cool!
 

dyoghenes

Veteran
Veteran
Joined
Jul 14, 2014
Messages
55
Reaction score
15
First Language
Hungarian
Primarily Uses
RMMZ
Sort of like this? Maybe the "is ON/OFF" part is redundant.
72vsFWk.png
 

Latest Threads

Latest Posts

Latest Profile Posts

No internet for 2 weeks. Thank goodness for phones. :kaoluv:
Megumi_Aramaki wrote on Takeshi014's profile.
Here you go! Enjoy mapping!
Megumi_Aramaki wrote on Takeshi014's profile.
Valley can be done by outside mountain town tilesets I will send you right away!
Hi everyone! I've relased a demo about my new game in "Games in Development". Someone interested? :3
Going live at 2pm EST

Forum statistics

Threads
109,043
Messages
1,041,572
Members
141,530
Latest member
jno8034
Top