Documentation for scripting

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
HaiiroMukuro
Posts: 80
Joined: Sun Jul 17, 2016 3:38 pm

Documentation for scripting

Post 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"
User avatar
Tony Li
Posts: 21079
Joined: Thu Jul 18, 2013 1:27 pm

Re: Documentation for scripting

Post 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.
Post Reply