Getting conversation at OnConversationEnd

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
nehvaleem
Posts: 93
Joined: Tue Sep 10, 2019 4:52 am

Getting conversation at OnConversationEnd

Post by nehvaleem »

How can I get the particular conversation that just ended on OnConversationEnd? I would like to trigger some tutorial part only at the end of specific conversation. Is it impossible or am I missing something?
User avatar
Tony Li
Posts: 21721
Joined: Thu Jul 18, 2013 1:27 pm

Re: Getting conversation at OnConversationEnd

Post by Tony Li »

Hi,

Check DialogueManager.lastConversationStarted for the conversation's title, or DialogueManager.lastConversationID if you want its ID number.
nehvaleem
Posts: 93
Joined: Tue Sep 10, 2019 4:52 am

Re: Getting conversation at OnConversationEnd

Post by nehvaleem »

Good to know. But I must admit that this isn't the most convenient way of doing it. Have to write some sort of wrapper. But still - thanks for a reply!
User avatar
Tony Li
Posts: 21721
Joined: Thu Jul 18, 2013 1:27 pm

Re: Getting conversation at OnConversationEnd

Post by Tony Li »

I don't follow. What would be more convenient? I may be able to suggest something that fits your specific needs better.
Post Reply