Skip to main content

Option Actions

VNgen features a simple, yet robust options menu system which can be used for both in-game dialog choices and your main menus themselves. Taking action based on which choice is selected might seem complex at first, but the open-ended nature of VNgen options is precisely what makes them so powerful.

Simply put, there is no predetermined outcome when a user selects a given option. Rather, that option's ID is stored in memory where it can be read and used in conditional statements like if and switch to execute code of your own based on the result. Check out the Getting Started guide for a full breakdown of this process.

In this section we'll examine available options functions so you'll be off to creating interactive dialogs in no time!