Help with quest going instantly to successful

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

Help with quest going instantly to successful

Post by Ollymuk »

Hi

I have a quest which is assigned to the player, but which goes instantly to successful, skipping all the node states.

This is the quest
2020-11-11 20_33_35-OllyDesktop.png
2020-11-11 20_33_35-OllyDesktop.png (129.23 KiB) Viewed 657 times
The quest is assigned via LUA in a DS dialogue.
2020-11-11 20_33_56-OllyDesktop.png
2020-11-11 20_33_56-OllyDesktop.png (23.73 KiB) Viewed 657 times
The quest instance assigned to the player goes instantly to successful
2020-11-11 20_34_43-OllyDesktop.png
2020-11-11 20_34_43-OllyDesktop.png (131.46 KiB) Viewed 657 times
I can see that each node appears to be assigned Success, one after the other in the console. Here's the final entry.
2020-11-11 20_35_18-OllyDesktop.png
2020-11-11 20_35_18-OllyDesktop.png (105.22 KiB) Viewed 657 times
However nothing in my dialogues sets any of the node states.

Any ideas?

Olly
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Help with quest going instantly to successful

Post by Tony Li »

Hi,

Are What and Return passthrough nodes or condition nodes?

If they're passthrough nodes, whenever they go active, they immediately go true/successful.

If they're condition nodes, what conditions do they have?
Ollymuk
Posts: 39
Joined: Wed Oct 14, 2020 12:59 pm

Re: Help with quest going instantly to successful

Post by Ollymuk »

Hi Tony

Damn it! I was so sure that I'd checked everything. Sorry about that. You were right, they were passthrough nodes. I've changed them to condition nodes without any condition assigned and it works as I expected.

It might be good if the different nodes were differentiated somehow. Perhaps by colour, or even just with "Passthrough" being written under the node title in the node inspector panel. That might have prevented me from bothering you, perhaps :)
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Help with quest going instantly to successful

Post by Tony Li »

Excellent suggestion. Sorry about the confusing UI. In the next update, I'll make a visual distinction between passthrough nodes and condition nodes, maybe a down-arrow icon on passthrough nodes and a question mark icon on condition nodes.
Post Reply