Skip to content
AEOWUN
Docs Menu

Script control

Enable or disable scripts during the game.

Disable a script

script.disable("scripts/example.aeo")

Disabling stops active execution and removes dynamic callbacks owned by that script. Paused calls are cancelled. It does not delete the script file or its saved binding.

Enable a script

script.enable("scripts/example.aeo")

Use the project-relative path, including scripts/ or playerscripts/ and the .aeo extension.

Check state

debug.log(script.is_enabled("scripts/example.aeo"))

Script control and in-game tests are separate APIs. See the Script reference and Test reference.

[BETA] marks features newer than the current public release. Current release: 0.8.0.