script
Reloads one Lua script or prints the script engine counters.
| Syntax | Console | In game | Minimum level | Role |
|---|---|---|---|---|
script reload <file> / script metrics |
Yes | No | — | Game |
script reload ai/guard.luascript metricsscript reload reloads one file relative to the configured scripts/ directory.
It runs the reload on the game loop and reports an error if the script fails to
load. script metrics prints the Lua engine’s current counters.
See also
Section titled “See also”Made with ❤️ by Tom
