EventU.lua

Download Latest Version

EventU is a library that helps manage events, coroutines and timers in LunaLua.

Installation
Place the file eventu.lua in either your level's custom graphics folder for use in a level, along with a lunadll.lua file, or in the same directory as your .wld file along with a lunaworld.lua file for use throughout an entire episode.

How to use
To enable the EventU library, add this line to lunadll.lua: This will load the EventU API.

Example
This will create a new coroutine that will display a debug window every 3 seconds.

Values
These are variables you can access

External Use Functions
These are functions you will need to use the library

Internal Use Functions
These are functions that the library uses to function, but are not necessary for the user