script_execute_ext

Syntax:

script_execute_ext(script, argumentsArray);
Argument name Type Description
script script The gamemaker script to execute
argumentsArray array An array with the arguments (up to 15) to pass to the script.

Returns: (any) the called script return value

Description:

Executes a script, and use an array as argument

Note: this script is used by Tweenline Engine's event system. Do not delete it.}

Example:

// if you want to call my_script(1,2,4); in a dynamic way, you can use:
script_execute_ext(my_script, [1,2,4]);