Page 1 of 1

Quest journal isn't enabling mouse cursor

Posted: Sun Mar 27, 2022 2:07 pm
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?

Re: Quest journal isn't enabling mouse cursor

Posted: Sun Mar 27, 2022 4:20 pm
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".

Re: Quest journal isn't enabling mouse cursor

Posted: Mon Mar 28, 2022 12:30 pm
by mroshaw
That was it - thanks again Tony!

Re: Quest journal isn't enabling mouse cursor

Posted: Mon Mar 28, 2022 1:08 pm
by Tony Li
Glad I could help!