In my game, I have LOADS of dialogue. Is it possible to load a different DataBase based on what NPC i talk too?
In that case, how? Since I assign the "Default" language DataBase to my Dialogue Manager, and all dialogues goes through the Dialogue Manager, how can I "swap it out" ?
Or do I need to have multiple Dialogue Managers and attach them to each NPC?
How to set up multiple DataBases?
Re: How to set up multiple DataBases?
Hi,
Use one Dialogue Manager.
Assign your "global" database to the Dialogue Manager's Initial Database field.
Create additional databases and add them to an Extra Databases component on the Dialogue Manager.
Set the Base ID of each additional database to help prevent ID conflicts. For example, set them to 1000, 2000, 3000, etc.
More important info: Working With Multiple Databases
When you're setting up an NPC's Dialogue System Trigger, assign the database containing the NPC's conversation(s) to the Dialogue System Trigger's Reference Database. The Reference Database field is only used to populate the Conversation dropdown in the editor. The database must still be assigned to the Dialogue Manager's Initial Database field or Extra Databases component.
Use one Dialogue Manager.
Assign your "global" database to the Dialogue Manager's Initial Database field.
Create additional databases and add them to an Extra Databases component on the Dialogue Manager.
Set the Base ID of each additional database to help prevent ID conflicts. For example, set them to 1000, 2000, 3000, etc.
More important info: Working With Multiple Databases
When you're setting up an NPC's Dialogue System Trigger, assign the database containing the NPC's conversation(s) to the Dialogue System Trigger's Reference Database. The Reference Database field is only used to populate the Conversation dropdown in the editor. The database must still be assigned to the Dialogue Manager's Initial Database field or Extra Databases component.
Re: How to set up multiple DataBases?
Fantastic! Works great. thank you soo much. Really needed this to work ^^ Such a nice Diualuge System!
Re: How to set up multiple DataBases?
Thanks! Glad to help.