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?
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:
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).