Page 1 of 1

Getting conversation at OnConversationEnd

Posted: Tue Sep 10, 2019 5:09 am
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?

Re: Getting conversation at OnConversationEnd

Posted: Tue Sep 10, 2019 9:14 am
by Tony Li
Hi,

Check DialogueManager.lastConversationStarted for the conversation's title, or DialogueManager.lastConversationID if you want its ID number.

Re: Getting conversation at OnConversationEnd

Posted: Tue Sep 10, 2019 9:48 am
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!

Re: Getting conversation at OnConversationEnd

Posted: Tue Sep 10, 2019 10:44 am
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.