Send Message use

Announcements, support questions, and discussion for Quest Machine.
Post Reply
lordzeon
Posts: 12
Joined: Mon Feb 26, 2024 5:06 pm

Send Message use

Post by lordzeon »

Hi, sorry about this noob question but im not familiar with the message system. I have a Quest where all nodes are conditions waiting for a specific message to complete. Im calling the standard SendMessage from any GameObject because i don't care origin or destination for this test, but im getting the error SendMessage GoldenKey has no receiver!
I am missing something?
User avatar
Tony Li
Posts: 22104
Joined: Thu Jul 18, 2013 1:27 pm

Re: Send Message use

Post by Tony Li »

Hi,

Quest Machine's message system is different from Unity's SendMessage.

If you're using a QuestControl component, use QuestControl.SendToMessageSystem.

If you're using C#, use PixelCrushers.MessageSystem.SendMessage().
Post Reply