Page 1 of 2

Using QuestEntry LUA in DS with QM

Posted: Sat Oct 24, 2020 11:53 am
by Ollymuk
Hi

Is it possible to get the QuestEntry LUA dropdown working in DS with QS?
2020-10-24 16_26_37-Window.png
2020-10-24 16_26_37-Window.png (9.98 KiB) Viewed 753 times
This shows that the QuestEntry drop downs are blank. The script entry there is one that I've entered by hand, but I'd prefer to use LUA for my own sanity.

Olly

Re: Using QuestEntry LUA in DS with QM

Posted: Sat Oct 24, 2020 12:58 pm
by Tony Li
Hi,

Quest Machine uses quest nodes instead of quest entries.

DS quest entries are numbered (1, 2, 3, etc.).

QM quest nodes have text IDs ("start", "get 3 apples", "return to NPC", etc.).

So you can't use the Quest Entry drodown. But you can select Custom > GetQuestNodeState. Then type in the quest ID and quest node ID.

Re: Using QuestEntry LUA in DS with QM

Posted: Sat Oct 24, 2020 2:08 pm
by Ollymuk
Thanks Tony.

I can't use Custom either. The drop down is empty
2020-10-24 19_07_38-Window.png
2020-10-24 19_07_38-Window.png (28.74 KiB) Viewed 749 times
Have I forgotten to import something do you think?

Re: Using QuestEntry LUA in DS with QM

Posted: Sat Oct 24, 2020 2:21 pm
by Tony Li
Hi,

Have you imported the latest version of the Dialogue System Support package from Quest Machine's Third Party Support folder?

Re: Using QuestEntry LUA in DS with QM

Posted: Sat Oct 24, 2020 2:55 pm
by Ollymuk
Yep :(
2020-10-24 19_55_02-OllyDesktop.png
2020-10-24 19_55_02-OllyDesktop.png (154.11 KiB) Viewed 746 times
2020-10-24 19_52_07-OllyDesktop.png
2020-10-24 19_52_07-OllyDesktop.png (33.79 KiB) Viewed 746 times

Re: Using QuestEntry LUA in DS with QM

Posted: Sat Oct 24, 2020 3:35 pm
by Tony Li
Are you using the latest version of Quest Machine?

If not, here's the latest version of Dialogue System Support from the latest Quest Machine:

QM_DialogueSystemSupport_2020-10-19.unitypackage

Re: Using QuestEntry LUA in DS with QM

Posted: Sun Oct 25, 2020 9:12 am
by Ollymuk
Thanks Tony.

I downloaded that package and installed it, but it hasn't solved the issue.

My QM is 1.2.11 if that helps.

Olly

Re: Using QuestEntry LUA in DS with QM

Posted: Sun Oct 25, 2020 9:19 am
by Tony Li
Hi Olly,

What version of the Dialogue System are you using?

In the folder Assets > Plugins > Pixel Crushers > Quest Machine > Third Party Support > Dialogue System Support > Scripts, is there a file named QM DS Lua Function Info?

Re: Using QuestEntry LUA in DS with QM

Posted: Sun Oct 25, 2020 10:18 am
by Ollymuk
2.2.12

Yes, that file is there....
1.png
1.png (162.37 KiB) Viewed 739 times

However, not sure this is important.....


3.png
3.png (93.92 KiB) Viewed 739 times


and


2.png
2.png (99 KiB) Viewed 739 times

Re: Using QuestEntry LUA in DS with QM

Posted: Sun Oct 25, 2020 12:25 pm
by Tony Li
Hi,

Yes, that's definitely an issue. Is your project compiling successfully? (No red errors in Console.)