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,239
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
838
Reaction score
540
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,239
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
961
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

Doing RPG Maker News #18 | Moghunter is Back, Encrypt MV/MZ Plugins, Isometric Geometric Tiles
Unironically, no joke, after consideration and self-reflection, I have decided that the best thing for my creative/workflow/commitment problems is to spend EVEN MOAR hours a day playing videogames than I normally do. (Micro-thread)
FINALLY got my weather system implemented. Who needs a black mage when you have a weathermancer! :p
Oh boy! COVID19 lockdown again! Good thing I already never go outside! :D
This one is less showing off and more 'I really don't know how I feel about this one.' The 'child' sprite template I made either works great or doesn't at times. (She is a fairy, so I made her small).
Morgan.png

Forum statistics

Threads
110,640
Messages
1,054,898
Members
143,768
Latest member
MS278
Top