๐ฒGetting started
Guide to writing Lua scripts for Untitled Project
Last updated
Guide to writing Lua scripts for Untitled Project
Last updated
Save your Lua script in the Lua\Scripts folder, then run the executable.
Type your Lua script name in with the respected file extension.
The best text editors make it simple and easy to code without formatting issues corrupting your script.
Visual studio code
Sublime Text
Notepad++
the API automatically includes the base, package, coroutine, string, math, table, debug, bit32, utf8, ffi, jit and os library for ease of use!
You should keep most of your scripts functions and variables as local to avoid collision with other scripts. Global variables should only be used to write libraries or scripts that interact with each other.
If you're new to Lua scripting, we'd recommend to take a look at the ยซLua in 5 minutesยป guide