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.
| Function | Summary |
|---|---|
| construct | Attempts to construct the given type, given an arbitrary map of values. |
| log_debug | Logs a `Debug` level message to the console * `message`: the message to log |
| log_error | Logs a `Error` level message to the console * `message`: the message to log |
| log_info | Logs a `Information` level message to the console |
| log_trace | Logs a `Trace` level message to the console * `message`: the message to log |
| log_warn | Logs a `Warning` level message to the console * `message`: the message to log |
| pack_args | Packs, a variable amount of values, into a single list. |
| register_callback | Registers 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_builder | Creates a new script system builder, which can be used to add new systems to the world. |
| unpack_args | Unpacks, a list of values, into many separate values. |