Where can I get the current conversation
Where can I get the current conversation
As the title says, I need to fetch the conversation being played at a moment.
Re: Where can I get the current conversation
I found what I needed under currentConversationState.subtitle.activeConversationRecord.ConversationTitle
But how to get the conversation itself? I need it for accessing dialogue entries list.
But how to get the conversation itself? I need it for accessing dialogue entries list.
Re: Where can I get the current conversation
If you're only starting one conversation at a time, you can simplify it to:
If you allow multiple conversations to run simultaneously, you'll need to use DialogueManager.activeConversations to get the record for the conversation you want, and then use DialogueManager.masterDatabase.GetConversation().[/code]
Code: Select all
Conversation conversation = DialogueManager.masterDatabase.GetConversation(DialogueManager.lastConversationStarted);
Re: Where can I get the current conversation
Thank you very much!
Re: Where can I get the current conversation
Happy to help!