Documentation
  • Introduction
    • Overview
  • Implementation
    • Getting started
    • Enable Replication
  • Functions
    • Quick Explanation
    • Bind Event
    • Unbind Event
      • Unbind All Events
      • Clear All Events
    • Call Event
    • On Event Called
  • Examples
    • Create a new Payload Object
    • Usage of Payload
    • Multiple Events in one Object
      • Bulk Variant
      • Using Messages
Powered by GitBook
On this page
  1. Examples

Multiple Events in one Object

PreviousUsage of PayloadNextBulk Variant

Last updated 2 years ago

Make sure you have read the before proceeding with any examples for optimal results!

  1. For our example we want to bind the two events called OpenGate and CloseGate

  1. Implement the and we added a Switch on Name based on our EventIDs to decide which logic should be run

Thats it! Now we can usae anywhere we want!

CallEvent()
Implementation Guide
OnEventCalled()
Run it from anywhere you want
Page cover image