Noob question - accessing database variables with C# scripts
Posted: Fri Mar 28, 2025 5:59 pm
Hello!
As title says, i'd like to know a way to access the variables (numbers and booleans) set in the dialogue database.
My approach to branching dialogue that affects the world outside is to have the bulk of the checks and conditions happening within the comfy dialogue manager system, with a large, "End of day" C#script that checks some of the variables for more complex stuff such as spawning objects and altering variables outside of the database.
I know it has a simple solution, but as a very amateurish coder i still prefer to have a direct answer to avoid banging my head on a brick wall for hours.
Thanks a lot!
As title says, i'd like to know a way to access the variables (numbers and booleans) set in the dialogue database.
My approach to branching dialogue that affects the world outside is to have the bulk of the checks and conditions happening within the comfy dialogue manager system, with a large, "End of day" C#script that checks some of the variables for more complex stuff such as spawning objects and altering variables outside of the database.
I know it has a simple solution, but as a very amateurish coder i still prefer to have a direct answer to avoid banging my head on a brick wall for hours.
Thanks a lot!