Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Functions

Non-Associated Functions

Global functions that are not associated with any type and callable from anywhere in the script.

For function details and documentation, click on the function link.

FunctionSummary
constructAttempts to construct the given type, given an arbitrary map of values.
log_debugLogs a `Debug` level message to the console * `message`: the message to log
log_errorLogs a `Error` level message to the console * `message`: the message to log
log_infoLogs a `Information` level message to the console
log_traceLogs a `Trace` level message to the console * `message`: the message to log
log_warnLogs a `Warning` level message to the console * `message`: the message to log
pack_argsPacks, a variable amount of values, into a single list.
register_callbackRegisters a “frozen” callback handler, For example, this code: ```lua register_callback(“on_script_unloaded”, my_unload_handler) function my_unload_handler() print(“handling unload!”) end ``` would call the `my_...
system_builderCreates a new script system builder, which can be used to add new systems to the world.
unpack_argsUnpacks, a list of values, into many separate values.