Is there any way to call Global Events or Game Events via script ?
  • A global event can be called like this:
    index is the ID/index of the global event (in the ORK editor).

    Calling a game event via script is a bit more complicated - the easiest way would be to set it up as an Event Interaction and calling the StartEvent function:
    eventInteraction is an instance of the Event Interaction component, startingObject is a game object that will be used as the starting object (e.g. the player).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on!
Sign In or Register to comment.