MZ Seven choices?

Hey, I have a question: Is there a way to make it so that an event can give you the option for seven choices instead of the default six that MZ's event editor provides you? See, I had this idea where, as part of the intro, you're asked which virtue you hold most dear, and then choose which sin has the strongest hold on you. Problem is, there are seven virtues and sins.
Hi there!
There are several plugins that can let you add more than 6 choices. I found that as the first hit of a google search:

There are more around, in case that does not work for you.
I believe you're looking for Hime_LargeChoices! Just install it and put two Show Choices in a row and they'll automatically combine into one.
Thank you both! 😀
You can also do this with a Script if you didn't want to use a plugin. Knowing how to do things with scripts is also helpful.

The RPG Maker MV_MZ Script Calls excel spreadsheet has part of this script as an example for Show Choices. But it is missing the part for the "When" options.

This sample script has 8 choices and uses a simple built-in Javascript alert() function to show a pop up message based on each choice.

You can simply replace that code (alert()) with whatever you want to happen. The Script Calls list can be very helpful for that as well.

Anyway, a plugin might be easier for you, but I just wanted to mention that you can also do this with a script using the Event Command Script.

I have another way of doing this in my research reference document that I have also used in the past, but I find this one easier to understand and use. I just tested this and it seems to work fine. But I am also still learning Javascript so there could be something I am missing.

Feel free to test this and do more experiments if you are interested in a script option.


// Define the 8 choices

$gameMessage.setChoices(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H'], 0, -1);

$gameMessage.setChoiceBackground(1);

$gameMessage.setChoicePositionType(1);


// The callback handles the "When" logic for each index (0-7)

$gameMessage.setChoiceCallback(n => {

$gameVariables.setValue(1, n);


switch(n) {

case 0: // When A

alert("You chose A.");

break;

case 1: // When B

alert("You chose B.");

break;

case 2: // When C

alert("You chose C.");

break;

case 3: // When D

alert("You chose D.");

break;

case 4: // When E

alert("You chose E.");

break;

case 5: // When F

alert("You chose F.");

break;

case 6: // When G

alert("You chose G.");

break;

case 7: // When H

alert("You chose H.");

break;

}

});

this.setWaitMode('message');

Original thread: https://forums.rpgmakerweb.com/threads/seven-choices.181663/