Script

Summary

Scripts represent a series of Commands that are executed by the engine. They can be found in the interaction logic of Entities, User Interface Elements, and various miscellaneous places throughout the engine.

Scripts are limited in execution per frame to the Maximum Script Execution Time Per Frame setting in General, unlike Functions.

Some commands are capable of being run Asynchronously, which means that they will add themselves into a separate execution list, which gets updated independently from wherever they were created. This means that following commands will be executed immediately, rather than waiting for the prior asynchronous command to finish.

A few specialized commands, such as Exit Script will immediately end a script's execution and prevent anything else from being executed.