Hi,
I have a question and have the feeling that it might be a silly one. Is there a simple way to check the current state of a quest or of a variable. My game does not feature any way for the player to check this via UI but while developing, it would be helpful to check this information. In the Dialoge Manager I can see this information but it does not update while playing. I mean the the display is not updated if I am not wrong. Altough the value is changed in the background
How can I check the values of any quest or variable?
Thank you for your help.
Check Quest state and Variables
Re: Check Quest state and Variables
Hi,
Use the Dialogue Editor's Watches section to view runtime values:
You can also add a Lua Console to the Dialogue Manager. This is useful for builds. Press ~+L to open the Lua Console, then enter commands such as:
or even:
to set values at runtime.
Use the Dialogue Editor's Watches section to view runtime values:
You can also add a Lua Console to the Dialogue Manager. This is useful for builds. Press ~+L to open the Lua Console, then enter commands such as:
Code: Select all
return CurrentQuestState("Enemy Attack")
Code: Select all
SetQuestState("Enemy Attack", "active")
Variable["enemiesDefeated"] = 0
-
- Posts: 105
- Joined: Tue Apr 05, 2016 9:37 am
Re: Check Quest state and Variables
Thank you very much!
Re: Check Quest state and Variables
Glad to help!