Page 1 of 1

Get all conversations in database

Posted: Fri May 21, 2021 12:04 pm
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

Re: Get all conversations in database

Posted: Fri May 21, 2021 1:43 pm
by Tony Li
Hi,

The list of conversations is in DialogueManager.masterDatabase.conversations.

Re: Get all conversations in database

Posted: Sat May 22, 2021 1:46 pm
by Chrische5
Hello

thanks for your helpful answer.

christoph

Re: Get all conversations in database

Posted: Sat May 22, 2021 2:18 pm
by Tony Li
Glad to help!