Hi Tony
As in the Subject can I have access to quest state from another Dialogue Database, for example:
I have two databases: Main and Conversations
In the "Main" databese I have my quests and in my "Conversations" database I have all conversations.
At the end of conversation i would like to change state of quest in "Main" database
Can I have access to quest state from another Dialogue Database
Re: Can I have access to quest state from another Dialogue Database
Hi,
At runtime, the Dialogue System doesn't work directly with dialogue database assets.
Instead, it creates a "master database" in memory. It then loads your Dialogue Manager's Initial Database content (e.g., Main) into the master database. You can also use an Extra Databases component to tell it to load additional databases (e.g., Conversations) into the master database. So, at runtime, everything is accessible. This means your conversation is free to change any quest state.
You may want to make Main's quest names available to your Conversations database in the Dialogue Editor, so you can select them from "..." dropdowns in dialogue entry nodes' Conditions and Script fields. To do this, use the Sync Databases feature that's explained in Working With Multiple Databases.
At runtime, the Dialogue System doesn't work directly with dialogue database assets.
Instead, it creates a "master database" in memory. It then loads your Dialogue Manager's Initial Database content (e.g., Main) into the master database. You can also use an Extra Databases component to tell it to load additional databases (e.g., Conversations) into the master database. So, at runtime, everything is accessible. This means your conversation is free to change any quest state.
You may want to make Main's quest names available to your Conversations database in the Dialogue Editor, so you can select them from "..." dropdowns in dialogue entry nodes' Conditions and Script fields. To do this, use the Sync Databases feature that's explained in Working With Multiple Databases.