Tsukihime 1,489 Posted October 28, 2014 This article discusses the event choices and how we can manipulate it using scripts to allow developers to easily provide more than 4 choices to the players without using any script calls or comments. We start by understanding what how choices work, some limitations in the choice system, and finally I propose a solution that is easy to use and present an implementation. Background RPG Maker provides built-in support for creating a set of choices and what happens when a player chooses a particular choice. It is available in the event editor as the “Show Choices†command. When you click on the command, it will display a dialog for setting up your choices You have 5 choices available to work with. You will understand why there are 5 later. The cancel behaviour dictates what happens when the player presses the cancel button during choice selection. If it’s disallowed, nothing happens when the player presses cancel. You must pick an option. If it’s one of the choices, then that choice will be selected when the player presses cancel. If it’s a branch, it will execute a 5th option (which does not appear in the selection). Each type of cancel behaviour has its own purpose depending on what you need, so you should experiment with each option to understand how they work. Choice Branches Here’s a setup with two choices. You can see that under each choice, there are more commands. These are called branches, and you can see that the indentation specifies which choice they correspond to. You can have any number of commands under each branch, including more “show choice†commands. Here’s the same setup, except we use the “branch†cancel option. A new branch now appears And this is how it appears in the game. As you can see, the cancel option does not appear in the list of selections. Displaying Message Sometimes you might want to display a message along with your choices. You can do this by simply using a "show text" command immediately before a "show choice" command. The event interpreter knows that you want to show this message while the choices are displayed. More Choices? So far, everything runs smoothly. You can create up to 4 labeled choices and have the player make a selection. You can then set up cancel behaviours to further control what happens when the player decides none of the options are good and wants to back out. Now what happens if you want to have more than 4 choices? Read the rest at HimeWorks! 1 Share this post Link to post Share on other sites