Quest journal isn't enabling mouse cursor

Announcements, support questions, and discussion for Quest Machine.
Post Reply
mroshaw
Posts: 96
Joined: Wed Jan 19, 2022 4:10 am

Quest journal isn't enabling mouse cursor

Post by mroshaw »

Hi again!

Just encountered a strange problem, and it's 100% because of something I've done!

I have a little helper component that waits for a configurable keypress or gamepad button. On detecting one, it runs this code:

Code: Select all

_questJournal.ShowJournalUI();
MessageSystem.SendMessage(this, "pausePlayer", string.Empty);
This was all working fine, now I see that when I open the Quest Journal in this way, the mouse cursor is not enabled for the player to click around the dialogue.

I must have changed something, but I cannot think what!

I am using Quest Machine with Invector, via the integrations that you kindly provide, so has a "Quest Machine Pause Player" component added and active.

Any thoughts?
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest journal isn't enabling mouse cursor

Post by Tony Li »

Hi,

Do you have something special listening for "pausePlayer"?

If you're sending a message that Quest Machine or the integration normally listen for, try changing it to "Pause Player".
mroshaw
Posts: 96
Joined: Wed Jan 19, 2022 4:10 am

Re: Quest journal isn't enabling mouse cursor

Post by mroshaw »

That was it - thanks again Tony!
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Quest journal isn't enabling mouse cursor

Post by Tony Li »

Glad I could help!
Post Reply