|integer||The number of options to scroll|
Navigates through a linear list of options, if any exist. The amount of options scrolled is arbitrary, where negative values scroll up and positive values scroll down. If a hover sound has been assigned in
vngen_option, it will be played upon running this script. If the input amount exceeds the size of the options menu, the selection will loop back around to the other side.
Note that navigation order is determined by the option z-index, and therefore improper configuration of options can result in unexpected navigation with this script.
This script is not an action, and is intended to be run in keyboard and gamepad input events. Mouse and touch support are built-in and do not require
vngen_do_option_nav for navigation.
//Scroll down vngen_do_option_nav(1);