Page 1 of 1
How do I use multiple databases?
Posted: Fri Nov 18, 2022 7:29 am
by qordud55
I want to show the another DB' Conversation
(not Dialouge Manager - Initial Database, Dialogue System Trigger - Reference Database)
I want to show the Conversation in Database
(Dialogue System Trigger - Conversation)
Or if you add a database, does the next database exist?
Re: How do I use multiple databases?
Posted: Fri Nov 18, 2022 9:02 am
by Tony Li
Hello,
You have two databases:
Director_Database and
Director_Database2.
You do not need to add Director_Database to the Extra Databases component since it's already assigned to the Dialogue Manager's Initial Database.
When Extra Databases starts, it will create a combined database in memory containing the content of Director_Database and Director_Database.
I recommend setting the Extra Database's Remove Trigger to Nothing.
Also run the Unique ID Tool and/or set Base IDs in your databases as explained in
Working With Multiple Databases.
Re: How do I use multiple databases?
Posted: Sun Nov 20, 2022 9:42 pm
by qordud55
I looked at the manual and ran it, but it didn't work
What function should I call?
Re: How do I use multiple databases?
Posted: Sun Nov 20, 2022 10:19 pm
by Tony Li
Hi,
What's not working?
Also, in Dialogue_Database2, you don't need to sync from Dialogue_Database2.
Re: How do I use multiple databases?
Posted: Sun Nov 20, 2022 11:14 pm
by qordud55
Hello,
I want the dialog manager's Initial database to be Director_Database2
and the reference database of the dialog system trigger to be Director_Database2
Re: How do I use multiple databases?
Posted: Mon Nov 21, 2022 9:03 am
by Tony Li
That's fine; you can do that.
Keep in mind that the Dialogue System Trigger's Reference Database field is only a convenience for the inspector. It tells the Dialogue System Trigger's conversation dropdown which conversation titles to show. The Reference Database field is not used at all at runtime.