Best way to trigger a flow script controller from another

Forums 💬 FlowCanvas ⚙️ Support Best way to trigger a flow script controller from another

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22752
    pixel pusher
    Participant

      Hello, what is the best way to trigger another Flow Script Controller from another?

      I am trying to implement the FlowScriptController.SendEvent is this actually the best way?

      I have events working but only using the SendGlobalEvent, but dont want to ‘shout’ to all flow script controllers.

      I know we are discussing the SendEvent / SendGlobal event issue in another thread but thought this could be a whole other discussion.

      Thank you.

      #22753
      Gavalakis
      Keymaster

        Hello,

        Yes, the best way to trigger a signal in another flowscript, would be by using the SendEvent node, along with a “Events/Custom Event” node on that other flowscript. You don’t need to use SendGlobalEvent. The normal SendEvent will do, as long as you provide the node with the flowscript reference, either directly, or linking it to some other node or variable.

        Let me know if you need a full example, or further explanations on that (or any other) matter.
        Thanks!

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.