User Tools

Site Tools


Execute Script

Executes the specified script. The script will run in parallel with the current one (unless specified otherwise).


script_nameName of the script (as defined in the Script Editor).StringYes
pauseWhether or not the current script should be paused until the triggered script has finished executing. Defaults to false.BooleanNo


execute_script("move_cat", false);

Results: The script named “move_cat” is triggered and runs in parallel with the currently running script.

Use the Execute Script function to trigger scripted movements for an NPC or the camera without holding up the main script of a cutscene, or to encapsulate reusable functionality within a separate script.

Editor Node:

execute_script.txt · Last modified: 2021/04/21 18:29 by justin