Creating UI tracker for variables
Posted: Fri Mar 12, 2021 12:59 pm
Hi again!
This time I'm trying to figure out how to create a UI system like the quest log window but one that stores variable information. For example, a window that would display information about people as you meet them. I have bool variables set up that are basically "person a met" that I set to true once the player has a conversation with them, and the description is information about that person. I was kind of trying to reverse-engineer the quest window UI in the basic pre-fab, but I can't seem to tell where the fields are gathering the quest information from the dialogue manager.
Are variables public? Is there a way to call them from other scripts? And if so, how?
Thank you!
This time I'm trying to figure out how to create a UI system like the quest log window but one that stores variable information. For example, a window that would display information about people as you meet them. I have bool variables set up that are basically "person a met" that I set to true once the player has a conversation with them, and the description is information about that person. I was kind of trying to reverse-engineer the quest window UI in the basic pre-fab, but I can't seem to tell where the fields are gathering the quest information from the dialogue manager.
Are variables public? Is there a way to call them from other scripts? And if so, how?
Thank you!