Starting conversation, dialog does not show or enable the mouse cursor

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

Starting conversation, dialog does not show or enable the mouse cursor

Post by mroshaw »

Hello again!

I'm having a strange issue with my Dialogues. Everything seems to work great, and the first few characters I've made converse happily with my player. There seems to come a point when something goes weird, and I engage in a Dialogue conversation and the mouse cursor is not enabled. I seem to have no way to re-enable the cursor, no matter how often I end the dialog and start it again.

Any idea what might be stopping the conversation from making the mouse cursor active and available, when I enter into a dialogue with an NPC?

One other thing I've noticed is that with dialogue system enabled, when I start the game the cursor is visible, even if I turn it off in another script (Cursor.visible = false). It seems that dialogue system wants to take some sort of control over the mouse cursor, whether I like it or not! ;)

Many thanks again!
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: Starting conversation, dialog does not show or enable the mouse cursor

Post by Tony Li »

Hi,

Inspect your Dialogue Manager GameObject, and untick the Input Device Manager component's Control Cursor State checkbox. The Dialogue System will no longer touch mouse visibility unless you've specifically ticked a Dialogue System Trigger's Show Cursor During Conversation checkbox. If the cursor is still not behaving the way you want, check other scripts -- typically your character controller scripts.
mroshaw
Posts: 96
Joined: Wed Jan 19, 2022 4:10 am

Re: Starting conversation, dialog does not show or enable the mouse cursor

Post by mroshaw »

That's done it, thanks again Tony!
User avatar
Tony Li
Posts: 22148
Joined: Thu Jul 18, 2013 1:27 pm

Re: Starting conversation, dialog does not show or enable the mouse cursor

Post by Tony Li »

Glad to help!
Post Reply