General Script API
  • Overview
  • Introdution
  • Standard
    • Chat
    • Reflection
  • Events
    • Introdution
    • Base Events
    • Player Events
Powered by GitBook
On this page
  1. Events

Introdution

Event system allows scripts register callbacks into script API

Example:

scriptInstance.listen("base::init", function() {
    log("Hello world")
})

The above example registered init event in base namespace, and it will loaded in script setup section

PreviousReflectionNextBase Events

Last updated 1 year ago