Can't open Quest Journal

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
will_888
Posts: 26
Joined: Mon Feb 07, 2022 4:09 am

Can't open Quest Journal

Post by will_888 »

Hello! I've got a problem with the Quest Journal.

I've got this scene where everything works properly.

The Quest Machine prefab is present in the scene.
The "Instantiate Prefabs" includes the quest log prefab.
Therefore, when I press "J" the Quest Log opens as it should be.

However, in another scene, with the same exact setup (I've duplicated the scene), the "J" buttons doesn't do anything. I'm checking in the DestroyOnLoad section in the scene and the Quest Log does spawn, but it is deactivated, and nothing happens when I press "J". I honestly don't know what I'm doing wrong! Can you help me? Thank you so much in advance :)
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't open Quest Journal

Post by Tony Li »

Do you want "J" to open the Dialogue System's quest log window or Quest Machine's quest journal UI?

Since you mentioned Quest Machine, I'll assume you're using Quest Machine's quest stuff and want to open Quest Machine's quest journal UI. One way to do this is to add a UI Button to your scene. Add a QuestJournalButton component to the Button's GameObject. Configure the Button's OnClick() event to call QuestJournalButton.ToggleJournalUI.
will_888
Posts: 26
Joined: Mon Feb 07, 2022 4:09 am

Re: Can't open Quest Journal

Post by will_888 »

Thanks for your answer!

Sorry, my bad. I used Quest Machine in the past and got confused. I'm NOT using Quest Machine now for this project, just the Dialogue System

I was talking about the Quest Log and Quest Journal Prefab

So, please consider my question again, thanks
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't open Quest Journal

Post by Tony Li »

Hi,

Try adding a Quest Log Window Hotkey component to your Dialogue Manager. Configure it to listen for the "J" key. You don't need any other Quest Log Window Hotkey components. The one on the Dialogue Manager will find the quest log window and open/close it.
will_888
Posts: 26
Joined: Mon Feb 07, 2022 4:09 am

Re: Can't open Quest Journal

Post by will_888 »

Thank you so much! This solved everything. :)
User avatar
Tony Li
Posts: 22149
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can't open Quest Journal

Post by Tony Li »

Happy to help!
Post Reply