Page 1 of 1
Documentation for scripting
Posted: Mon Jul 18, 2016 8:02 pm
by HaiiroMukuro
Is there any complete documentation for dialog database conditions and scripting like these.
Quest["Questname"].State == "unassigned"
Quest["Questname"].State == "success"
Quest["Questname"].State = "active"; Variable["Alert"] = "Some alert"
Re: Documentation for scripting
Posted: Mon Jul 18, 2016 9:58 pm
by Tony Li
Hi,
Yes. If you want to control quest states in C# or UnityScript scripts, use the QuestLog class:
If you want to receive quest-related messages from the Dialogue System in your scripts, use Quest Messages or the Dialogue System Events component:
For general information about controlling quests (such as in the Script field of dialogue entries), see the How to Manage Quests section:
The main quest system documentation starts here:
If you have any specific questions, I'll be happy to answer them. I'm finishing up work for the day, but I'll check back first thing in the morning.