FSM Communication

Forums 💬 NodeCanvas ⚙️ Support FSM Communication

  • This topic has 0 replies, 2 voices, and was last updated 7 years ago by Gavalakis.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17295
    atmuc
    Participant

      I have 2 FSM owner. How can I send a message/trigger from one to other? You can assume FSMOwnerA is for the menu. when a button clicked I will send an information to FSMOwnerB. Is there any global messaging system in NodeCanvas?

      #17296
      Gavalakis
      Keymaster

        Hello again,

        You can simply use the “Send Event” (or “Send Event”) action task and specify the “GraphOwner” (like an FSMOwner is) that will receive the event by overriding the agent like shown in the image bellow:
        [attachment file=”SendEvent.png”]

        The “Send Event” action also has a “Send Global” option, if you want all GraphOwners to receive the event rather than a specific one.

        The FSMOwner that needs to respond to the event (FSMOwnerB), needs to have a “Check Event” condition (with “Event Name” being the same as the send event name of course).

        Let me know if that works for you.
        Thanks.

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