Events System
Events system allows you to handle events existing in the multiplayer and add your own custom events.
Built-in events
onInit(formId)
- an event fired each timeMpObjectReference
/MpActor
is initializing from scratch or from a database record. May be called multiple times for the sameformId
during server run.onUiEvent(formId, data)
- an event fired each time a UI event is being sent in the browser context of the client.
Last updated
Was this helpful?