Querying the Dialogue Database
Posted: Tue Aug 18, 2020 7:20 pm
Hi Tony,
Some more newbie questions, this time about the Dialogue Database.
How would I query the Dialogue Database using a c# script?
For example, I want to be able to loop through all the Conversations in the database and get their ID, Title and other key information about each Conversation.
I then want to use this information to populate a separate set of tables / lists that will control game logic. For example, keeping track of which Conversations (stories in my game) that a Player has seen, changing the likelihood that a story will be presented to the player based on the current game state, etc (I can't use conditions for this as it's quite complex).
Second question: Is it possible to associate Conversations with Locations, Quests, Items, etc?
E.g. Conversation number 1 would be associated with Location 3, Conversation number 2 would also be associated with Location 3 (because Location 3 is a Forest and both Conversations take place in a forest).
If you could provide me some guidance on getting started, I hope I will be able to muddle my way through from there!
Thanks
Pete
Some more newbie questions, this time about the Dialogue Database.
How would I query the Dialogue Database using a c# script?
For example, I want to be able to loop through all the Conversations in the database and get their ID, Title and other key information about each Conversation.
I then want to use this information to populate a separate set of tables / lists that will control game logic. For example, keeping track of which Conversations (stories in my game) that a Player has seen, changing the likelihood that a story will be presented to the player based on the current game state, etc (I can't use conditions for this as it's quite complex).
Second question: Is it possible to associate Conversations with Locations, Quests, Items, etc?
E.g. Conversation number 1 would be associated with Location 3, Conversation number 2 would also be associated with Location 3 (because Location 3 is a Forest and both Conversations take place in a forest).
If you could provide me some guidance on getting started, I hope I will be able to muddle my way through from there!
Thanks
Pete