Would you like show/hide options in Show Choice?

  • Yes

    Votes: 24 68.6%
  • No

    Votes: 2 5.7%
  • Yes but not important

    Votes: 9 25.7%

  • Total voters
    35

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
2,961
Reaction score
2,236
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
76
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
834
Reaction score
538
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,961
Reaction score
2,236
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 Profile Posts

Another character battle theme
Sorry everyone. Covid rules made me a laptop potatoe and I would need more exercise and past 2nd invasion I am still fighting for space also here. So I am not enough often here and... well I answer even less to my e-mails. DC is saying a huge HI to everyone with her heavy wet purrings.

You all take care in here ^^
traficaccidence.jpg
"It's time to add cars into the city!"
--- Famous last word of the developer's character before hit by a car :kaoswt2:
Yay, our new game, Causality is finally released on Steam!

Forum statistics

Threads
110,491
Messages
1,053,706
Members
143,588
Latest member
israel007
Top