Skip to content

Event library ​

No description available

Functions ​

mnscript
Event.AddListener(string, string, string) 
  • Registers a callback for an event
mnscript
Event.ClearEvents() 
  • Clears the queue of pending events.
mnscript
number Event.GetPendingEventCount() 
  • Gets the number of pending events.
mnscript
Event.Process() 
  • Processes all pending events
  • Removes a callback for an event