Now, I had it working if I did it like this (harcoded):
Code: Select all
Quest["Name_of_Quest"].Description
Code: Select all
Quest[Variable["Name_Of_Quest"]].Description
So in the Dialogue Text of one of the node I have:
Code: Select all
[lua(Quest[Variable["CurrentQuest"]].Description)]
Any idea how I can solve this? I'm kind of new and I can't see what I'm doing wrong.Dialogue System: Lua code 'return Quest[Variable["CurrentQuest"]].Description' threw exception 'Lookup of field 'Description' in the table element failed because the table element itself isn't in the table.'
Thanks in advance