Get all conversations in database

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Chrische5
Posts: 6
Joined: Sat Apr 10, 2021 8:52 am

Get all conversations in database

Post by Chrische5 »

Hello

I think i have a very basic question, but i cant find an anwser. i have a database with some conversations and i start the conversations from code with DialogueManager.StartConversation(). This works fine, but now i need a lot of states to start the right one. Is it possible to get all Conversations land put them into a List<>. With this solution i can do something like StartNextConversation. Is there an other way to avoid the mass of states?

thx
Chrische
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Get all conversations in database

Post by Tony Li »

Hi,

The list of conversations is in DialogueManager.masterDatabase.conversations.
Chrische5
Posts: 6
Joined: Sat Apr 10, 2021 8:52 am

Re: Get all conversations in database

Post by Chrische5 »

Hello

thanks for your helpful answer.

christoph
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Get all conversations in database

Post by Tony Li »

Glad to help!
Post Reply