Skip to main content

The "vngen_set_auto_type" Function

Syntax#

vngen_set_auto_type(type);
ArgumentTypeDescription
typeintegerSets the behavior for infinite pause values when auto mode is enabled

Description#

As of version 1.0.8, VNgen treats indefinite pause values (e.g. [pause=-1]) as literal durations when auto mode is enabled. This behavior can be reverted to match 1.0.7 and older versions, so that indefinite pauses are always respected, and will require running vngen_do_continue even in auto mode.

To use the new behavior, set the auto type to 0 (enabled by default).

To use the old behavior, set the auto type to 1.

Example#

vngen_set_auto_type(1);