Page 1 of 2

Node set to true from dialogue not making next node active

Posted: Mon Aug 21, 2023 6:08 pm
by DeidreReay
As the title states.
1.) We have dialogue, quest, love hate, Invector, Eadon integrations all set up and working well

When we have a dialouge and set quest node state "X" to true it does not automatically make the next node active..
Is this by design as I thought making a node true automatically makes next node or nodes active?

To get around this having to also through lua make the next nodes active, but that is adding a lot of extra work.
Anything we should check?

Re: Node set to true from dialogue not making next node active

Posted: Mon Aug 21, 2023 8:01 pm
by Tony Li
Hi,

If the quest is active, then setting a node true from dialogue should set its child nodes active. Is the quest active?

Re: Node set to true from dialogue not making next node active

Posted: Mon Aug 21, 2023 9:42 pm
by DeidreReay
Yes they are certainly active. Just for some reason not seeing when a node goes true the next active. This is through dialogues using set node state "X" "X" true

Re: Node set to true from dialogue not making next node active

Posted: Mon Aug 21, 2023 9:56 pm
by DeidreReay
Set like this

Re: Node set to true from dialogue not making next node active

Posted: Mon Aug 21, 2023 9:56 pm
by DeidreReay
But some reason it just seems not to activate the next node in line of the quest.

Re: Node set to true from dialogue not making next node active

Posted: Mon Aug 21, 2023 10:09 pm
by DeidreReay
The only way I can get it to work correctly is doing them all like this

Re: Node set to true from dialogue not making next node active

Posted: Tue Aug 22, 2023 9:00 am
by Tony Li
Hi,

The current Dialogue System integration uses the Dialogue System convention of the words "unassigned", "active", and "success" for quest/node states, not "true".

This updated version (which will also be in the next QM release) also accepts "true":

QM_DialogueSystemIntegration_2023-08-22.unitypackage

Alternatively, you could change that first line to:

Code: Select all

SetQuestNodeState("stableBoyShorted", "speakToStableBoy", "success");

Re: Node set to true from dialogue not making next node active

Posted: Tue Aug 22, 2023 11:22 am
by DeidreReay
Well let me take a look and see if just changing over to success for those will take care of business. I did not realize that. Thank you for your help as always.

I believe and can double check though. Again with all those integrations that when quest is first getting given / assigned that it does not actually activate the first quest node. Can double check though, but believe i was being forced again to Give Quest & Set first node active.
Which again is okay to deal with, just looking at scale and the amount of quests we are planning there is a lot of possilbe missing having to set node active. But again I can double check if that is the case with all of them etc.

Re: Node set to true from dialogue not making next node active

Posted: Tue Aug 22, 2023 11:28 am
by DeidreReay
Having to set up giving quest like this then activating node.

Re: Node set to true from dialogue not making next node active

Posted: Tue Aug 22, 2023 11:39 am
by Tony Li
GiveQuest() should set the quest's Start node active.

When the Start node becomes active, it immediately sets itself true, which should cause nodes linked from Start to automatically become active. Are you not seeing that behavior?