load conversation from another DB

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
robster21
Posts: 38
Joined: Tue Aug 23, 2022 9:02 am

load conversation from another DB

Post by robster21 »

I want to show the another DB' Conversation(not Dialogue Manager's Initial database)

I added Extra Databases component in the Dialogue Manager game object, and loaded sub DB.
Then I load a conversation from subDB when starting the game, but it doesn't work. What should I do?
Attachments
06_01 is main DB
06_01 is main DB
initial.PNG (22.38 KiB) Viewed 376 times
this component is in the Dialogue Manager game object
this component is in the Dialogue Manager game object
initial2.PNG (15.25 KiB) Viewed 376 times
06_02 is sub DB
06_02 is sub DB
initial3.PNG (41.28 KiB) Viewed 376 times
User avatar
Tony Li
Posts: 21972
Joined: Thu Jul 18, 2013 1:27 pm

Re: load conversation from another DB

Post by Tony Li »

Hi,

Are the internal IDs unique across both databases? (See Working With Multiple Databases)
robster21
Posts: 38
Joined: Tue Aug 23, 2022 9:02 am

Re: load conversation from another DB

Post by robster21 »

oh, Now it works, Thank you!
User avatar
Tony Li
Posts: 21972
Joined: Thu Jul 18, 2013 1:27 pm

Re: load conversation from another DB

Post by Tony Li »

Glad to help!

Tip: In your other DB, on the Database tab > Database Properties section, set Base ID to a high value such as 1000. Any new content you create in this DB (such as new conversations) will use this ID number or higher. This means their internal IDs are much less likely to conflict with your initial DB, so you won't have to run the Unique ID Tool as much (or maybe even at all).
Post Reply