New account registrations are disabed. This website is now an archive. Read more here.

RPG Maker VX Ace    Posted April 18, 2013 by xTsukihime

Choice Options

Introduction

This script provides "choice options" that provide finer control over your choices.

 

You can now hide choices that should not be shown using a few simple conditions rather than duplicating a choice list several times using conditional branches.

 

You can disable choices from being selected, which is simply impossible under normal circumstances.

 

Additional options may be added in the future

 

Posted Image

Features

Hide Options
Disable Options
Long choice text
Choice text color

License Terms

Attribution 3.0 Unported - You must attribute the work in the manner specified by the author or licensor. Commerical use allowed.

Instructions

Download

 

Get it at Hime Works!

 

Installation

 

Place this script below Materials and above Main

 

Usage

 

In your event, before the show choices commands, use script calls to set each choice option
The general format of the script call is

 

method_name(choice_number, arguments, ... )

You can look up the available methods in the reference section of the script.
The choice_number is 1 for the first choice, 2 for the second choice, and so on.
The arguments are specified in in the reference.

 

Hidden Choice

 

When the condition is true, the specified choice will not be shown on the list. Use a script call

 

hide_choice(choice_num, condition)

Where the `condition` is a string representing your conditional statement.

 

Disabled Choice

 

When the condition is true, the specified choice will not be selectable, though it will be shown on the list. Use a script call

 

disable_choice(choice_num, condition)

Colored Choice

 

The text of the specified choice will be drawn with the selected color. The color is currently a number from 0 to 32, which is not very useful.

 

color_choice(choice_num, color_num)

Text Choice

 

The text of the specified choice will be replaced by the text for this option. This allows you to exceed the 50-char limit imposed by the editor.

 

text_choice(choice_num, text)

Credits & Thanks

Tsukihime @ Hime Works

Terms & Conditions

* Free to use in commercial/non-commercial projects
* No real support. The script is provided as-is
* Will do bug fixes, but no compatibility patches
* Features may be requested but no guarantees, especially if it is non-trivial
* Credits to Tsukihime in your project
* Preserve this header

Leave a Reply

xTsukihime

  • Posted about 12 years ago

  • Engine
    RPG Maker VX Ace
  • Category
    System Enhancements
  • License
    Attribution 3.0 Unported
  • Version
    1.0

Stats

2,761 views

0 comments

Tags

choices eventing