Page 1 of 1

Quest During Conversation

Posted: Wed Mar 29, 2023 12:52 pm
by JamesTFreaknKirk
Hello!

I was wondering if it was possible to disable to quest panel during a conversation?

Thanks for your time!

Re: Quest During Conversation

Posted: Wed Mar 29, 2023 1:03 pm
by Tony Li
Hi,

Yes. Add an instance of the quest log window to a Canvas that's a child of your Dialogue Manager. Add a Dialogue System Events component to your Dialogue Manager. Configure the OnConversationStart() event to either call the quest log window's Close() method or disable its Canvas. If you disable the Canvas, configure OnConversationEnd() to re-enable it.

Re: Quest During Conversation

Posted: Wed Mar 29, 2023 6:02 pm
by JamesTFreaknKirk
For some reason when I put it under my canvas, it seems to ignore it during gameplay and just spawns another one :shock:



prefab
Prefab.PNG
Prefab.PNG (7.34 KiB) Viewed 362 times
ingame
InGame.PNG
InGame.PNG (13.47 KiB) Viewed 362 times
So it ends up working, but not for the one that's being used, for the original one, if that makes any sense

sorry for the confusion!

Re: Quest During Conversation

Posted: Wed Mar 29, 2023 9:08 pm
by Tony Li
Inspect your Dialogue Manager GameObject's Instantiate Prefabs component and remove Quest Tracker, FWF from its Prefabs list. This way the Instantiate Prefabs component won't instantiate a second instance at runtime.