Standard libraries
String functions
Section titled “String functions”The library exposes the following functions:
ByteCharFindFormatGsubGmatchDumpLenUpperMatchRepReverseSubPackPackSizeUnpack
The official Lua website has the additional documentation for the string library.
Table functions
Section titled “Table functions”The library exposes the following functions:
ConcatInsertInsertAtRemoveSort
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:
AbsAcosAtanCeilCosDegExpFloorFmodLogMaxMinModfRadRandomSinSincosSqrtTanToIntTypeUlt
Math constants
Section titled “Math constants”PiHugeMaxIntMinInt
The official Lua website has the additional documentation for the math library.