sm64ex-coop/docs/lua/lua.md

957 B

Lua Reference

The Lua scripting API is in early development.

Expect many more things to be supported in the future.


How to install Lua mods

Lua scripts you make can be placed either the mods folder in the base directory, or in <SAVE FILE LOCATION>/mods


Globals

Identifier Type Description
gMarioStates[MAX_PLAYERS] MarioState An array of length MAX_PLAYERS containing mario states
gCharacter[CT_MAX] Character An array of length CT_MAX containing character information

Exposed from SM64


Example Lua mods