Hey Tony,
I'm trying to create my own quest log, and I want to add some extra fields in the quest info (quest location, quest giver) - I know you can add extra fields in the quest itself, but is there a way to get that data back out via script?
Getting extra fields in quests from script
Re: Getting extra fields in quests from script
Hi,
Yes, use the DialogueLua class. Example:
Yes, use the DialogueLua class. Example:
Code: Select all
string questLocation = DialogueLua.GetQuestField("Some Quest", "Location").asString;
string questGiver = DialogueLua.GetQuestField("Some Quest", "Quest Giver").asString;
Re: Getting extra fields in quests from script
worked great! Thanks!
Re: Getting extra fields in quests from script
Glad to help!