Standard libraries
String functions
Section titled “String functions”The library exposes the following functions:
Byte
Char
Find
Format
Gsub
Gmatch
Dump
Len
Upper
Match
Rep
Reverse
Sub
Pack
PackSize
Unpack
The official Lua website has the additional documentation for the string library.
Table functions
Section titled “Table functions”The library exposes the following functions:
Concat
Insert
InsertAt
Remove
Sort
The official Lua website has the additional documentation for the table library.
Math functions
Section titled “Math functions”The Hybroid’s Math
library is only available in mesh and sound environments.
It is not available when creating levels because the functions it offer are often for dealing with floating point numbers.
The library exposes the following functions:
Abs
Acos
Atan
Ceil
Cos
Deg
Exp
Floor
Fmod
Log
Max
Min
Modf
Rad
Random
Sin
Sincos
Sqrt
Tan
ToInt
Type
Ult
Math constants
Section titled “Math constants”Pi
Huge
MaxInt
MinInt
The official Lua website has the additional documentation for the math library.