The "vngen_do_pause" Function

Syntax#

vngen_do_pause(toggle, [sound]);
ArgumentTypeDescription
toggleboolean/macroEnables, disables, or toggles pausing VNgen
[sound]soundOptional: A sound to be played when the script is run

Description#

Toggles or explicitly enables/disables pausing VNgen. While paused, all ongoing actions are suspended and functions such as vngen_do_continue are ignored. (Buttons are an exception to this rule, so they can be used to create pause menus.)

Recommended for use in mouse, keyboard, or gamepad input events.

Example#

vngen_do_pause(toggle, snd_input);
vngen_do_pause(false);