Script
Look up script calls and properties.
script.enable(path)
Enable script execution.
- Arguments
path: project-relative string including scripts/ or playerscripts/ and .aeo.- Returns
nil.
- Works with
Script files in the active project.
- Missing values and errors
Wrong argument counts or types report an error.
Also available as: enable_script.
debug.log(script.enable("scripts/example.aeo"))script.disable(path)
Stop script execution and cancel its active work.
- Arguments
path: project-relative string including scripts/ or playerscripts/ and .aeo.- Returns
nil.
- Works with
Script files in the active project.
- Missing values and errors
Wrong argument counts or types report an error. Owned dynamic callbacks are removed. The file and saved binding remain.
Also available as: disable_script.
debug.log(script.disable("scripts/example.aeo"))script.is_enabled(path)
Check whether a script is enabled.
- Arguments
path: project-relative string including scripts/ or playerscripts/ and .aeo.- Returns
bool.
- Works with
Script files in the active project.
- Missing values and errors
Wrong argument counts or types report an error.
Also available as: is_script_enabled.
debug.log(script.is_enabled("scripts/example.aeo"))[BETA] marks features newer than the current public release. Current release: 0.8.0.