Sending message to Dialogue Manager's current conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Sending message to Dialogue Manager's current conversation

Post by fkkcloud »

화면 캡처 2020-11-26 225607.png
화면 캡처 2020-11-26 225607.png (88.02 KiB) Viewed 220 times
Can I just have this send message to the current conversation?
(without specifying Recipent gameObject? since it is a singleton? Also, I hope I dont write a additional script to just set that here)
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Sending message to Dialogue Manager's current conversation

Post by Tony Li »

No, you must assign a GameObject to the Send Message action.

You could use the SendMessage() sequencer command instead. To send a message to the Dialogue Manager, select Add Action > Play Sequence. Then set the Sequence to something like:

Code: Select all

SendMessage(Clear,,Dialogue Manager)
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Sending message to Dialogue Manager's current conversation

Post by fkkcloud »

Since this is independent from a node of conversation, it's just basically a function that is defined as SequenceCommand type, right?
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Sending message to Dialogue Manager's current conversation

Post by Tony Li »

Yes, that's correct.
Post Reply