The "vngen_option" Function
|real/string||The identifier to use for the entire options block, as a group|
|real||The horizontal position to display the entire options block, relative to the global offset|
|real||The vertical position to display the entire options block, relative to the global offset|
|real||The length of time in seconds to delay displaying options|
|real||The length of time in seconds to delay destroying options|
|sound||The sound to play when an option is hovered (or keyword |
|sound||The sound to play when an option is selected (or keyword |
|real/string||Optional: Sets the language flag for the entire options block|
Initializes a segment of code containing VNgen options. Once this script has been run, as many options as desired can be executed inside it. While it may behave like an event, this script is itself an action and will pause all further actions in the current event until a selection has been made.
As of version 1.0.7, options have both a block (or group) ID and individual option IDs. The ID of previously-selected options can be recalled at any time by supplying the option block ID in the
For the sake of performance,
vngen_option is intended to be used within an
if statement. This guarantees that individual options within will only be performed while the option block is active.
See Language Functions for details on multi-language support.