The "vngen_script_execute_ext" Function
#
SyntaxArgument | Type | Description |
---|---|---|
script | script | The script to execute |
argument0 ... argument31 | any | Up to 32 values to pass into the script as arguments |
#
DescriptionExecutes the input script as an action in the context of Quantum events. The specified script can be anything, but be aware that scripts executed with this function will be performed only once when the containing event first becomes active.
While this function may appear identical to the standard vngen_script_execute
, it comes with one critical difference: scripts will always be re-executed during vngen_goto
event skip operations.
#
ExampleThis will set the global text typewriter effect speed, both when the example event is reached and when skipped with vngen_goto
. This use-case is exceptionally useful when managing branching paths in a single object.