📖
FlowReactor
  • 👋Welcome
  • Installation
  • Interface
    • Graph Library
    • Graph Explorer
  • FlowReactorComponent
  • Settings
  • Addons / Packages
  • Guides
    • Introduction
    • Create custom node
    • Variables & Blackboards
      • Type conversions
    • Using the EventSystem
      • Sequencing Events
  • In-depth
    • Node Attributes
    • Long running nodes
    • Node Modules
      • FRNodeControllable
      • FRNodeEventDispatcher
      • Custom node utility modules
    • Assembly Defintion
  • API
    • Nodes
    • Blackboard
    • Eventboard
    • FlowReactorComponent
    • FRVariables
      • FREnum
      • FRAttributes
    • INodeControllable
Powered by GitBook
On this page
  1. Guides
  2. Using the EventSystem

Sequencing Events

PreviousUsing the EventSystemNextNode Attributes

Last updated 2 years ago

There are occasions where you want an event listener node to listen to an event only if other prerequisites have been made or another event have been called first.

This is best achieved by using sub-graphs. An event listener node inside of a sub-graph gets only triggered when the sub-graph is currently active.

Example

So for example lets assume we have an Event listener node (A) in the root graph which is connected to a sub-graph. Inside of the sub-graph we have another Event listener node (B). This way, event listener B will only listen if event A has been called first.