Using QuestEntry LUA in DS with QM

Announcements, support questions, and discussion for Quest Machine.
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Using QuestEntry LUA in DS with QM

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

Re: Using QuestEntry LUA in DS with QM

Post 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.
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Re: Using QuestEntry LUA in DS with QM

Post 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 757 times
Have I forgotten to import something do you think?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using QuestEntry LUA in DS with QM

Post by Tony Li »

Hi,

Have you imported the latest version of the Dialogue System Support package from Quest Machine's Third Party Support folder?
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Re: Using QuestEntry LUA in DS with QM

Post by Ollymuk »

Yep :(
2020-10-24 19_55_02-OllyDesktop.png
2020-10-24 19_55_02-OllyDesktop.png (154.11 KiB) Viewed 754 times
2020-10-24 19_52_07-OllyDesktop.png
2020-10-24 19_52_07-OllyDesktop.png (33.79 KiB) Viewed 754 times
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using QuestEntry LUA in DS with QM

Post 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
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Re: Using QuestEntry LUA in DS with QM

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

Re: Using QuestEntry LUA in DS with QM

Post 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?
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Re: Using QuestEntry LUA in DS with QM

Post by Ollymuk »

2.2.12

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

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


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


and


2.png
2.png (99 KiB) Viewed 747 times
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using QuestEntry LUA in DS with QM

Post by Tony Li »

Hi,

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