events

Functions:

Available game events can be found here.

:set

events.event_category:set(event_name:string, callback: function)

Name
Type
Description

event_name

string

Event name to listen

callback

function

A callback with event as the argument

Sets the callback for the specified event. The registered function will be called every time the specified event occurs.

Last updated