Lua Cheat Sheet Pdf
This cheat sheet is intended for beginner scripters.
Lua cheat sheet pdf. 25 jan 16 updated 24 jan 17. Usage examples links snippets and more. Lua scripting 5 1 cheat sheet from srgmc. It s commonly used for creating apis scripts quick prototypes and more.
Pdf recommended pdf 3 pages alternative downloads. The one page guide to lua. Odt pdf aewald arnold de lua 5 1 c api short reference lists all the calls with even shorter descriptions but also includes the stack layout of the ingoing and outcoming lua values by ewald arnold xls pdf aewald arnold de. After the end in table t.
A ridiculous collection of web development cheatsheets one page guide to. Comments comment multiline comment invoking functions. Func tion f f2 arg1 f2 arg1 end return skips other code below it. Func tions value func tio n a rgs body end func tion functi onn ame a rgs body end functions can be used as arguments.
General reference for scripting in lua on roblox. The table library table table insert t i v inserts v at numerical index i default. Lua isstring ok value return true if value at position n is a string lua istable ok value return true if value at position n is a table lua isfunction ok value return true if value at position n is a lua function lua iscfunction ok value return true if value at position n is a c function. Programming games console fantasy lua pico 8 0.
General reference for scripting in lua on roblox. Pdf black and white latex. Lua code is executed by the lua bytecode interpreter. 1 page 0 pico 8 v2 cheat sheet.
Programming games scripting lua roblox. This is devhints io cheatsheets a collection of cheatsheets i ve written. Even though it is simple enough to warrant a one pager we created a two page cheat sheet to include a few extra tips including syntax data structures important variables and other helpful tricks. This cheat sheet is intended for beginner scripters.
General reference for scripting in lua on roblox. Coroutine wrap f creates a new coroutine with lua function f as body and returns a function.