Turning off conversation UI for internal dialogue UI

Announcements, support questions, and discussion for the Dialogue System.
mudukke
Posts: 62
Joined: Wed Sep 27, 2023 4:15 am

Turning off conversation UI for internal dialogue UI

Post by mudukke »

Is there a way to switch between UI for example the the conversation UI which I am using when interacting with NPCS but for internal dialogue, I would like to switch it off when they are talking to themselves, especially in the cutscenes using timeline
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Turning off conversation UI for internal dialogue UI

Post by Tony Li »

Hi,

Yes. You can assign a different dialogue UI (e.g., with a different appearance or even with no visual elements) to the Dialogue System Trigger's Actions > Start Conversation > Override Dialogue UI, or add an Override Dialogue UI component to one of the participants (e.g., internal narrator actor), or use the SetDialoguePanel(false,immediate) sequencer command to hide the default dialogue UI if you haven't overridden it.

Maybe related: How To: Set Up Player Monologues
mudukke
Posts: 62
Joined: Wed Sep 27, 2023 4:15 am

Re: Turning off conversation UI for internal dialogue UI

Post by mudukke »

Thanks Tony!!
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Turning off conversation UI for internal dialogue UI

Post by Tony Li »

Happy to help!
mudukke
Posts: 62
Joined: Wed Sep 27, 2023 4:15 am

Re: Turning off conversation UI for internal dialogue UI

Post by mudukke »

I got this to work however for some reason when it overrides it uses the default dialogue UI. I can only see this in runtime. It doesn't use the one I have created
Attachments
default.png
default.png (14.2 KiB) Viewed 777 times
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Turning off conversation UI for internal dialogue UI

Post by Tony Li »

Hi,

How do you have it configured? Are you using an Override Dialogue UI component?
mudukke
Posts: 62
Joined: Wed Sep 27, 2023 4:15 am

Re: Turning off conversation UI for internal dialogue UI

Post by mudukke »

I am using the Override Dialogue UI component on a games object
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Turning off conversation UI for internal dialogue UI

Post by Tony Li »

Hi,

Since you're using an Override Dialogue UI component on a GameObject, then if the GameObject is the conversation's primary actor or conversant (see here for details), it should use the dialogue UI that you've assigned to the Override Dialogue UI component.
mudukke
Posts: 62
Joined: Wed Sep 27, 2023 4:15 am

Re: Turning off conversation UI for internal dialogue UI

Post by mudukke »

I have tried this but it still doesn't work and now on the timelines is using the default override not the main UI I am not sure why.
Attachments
ui fault.png
ui fault.png (631.77 KiB) Viewed 665 times
mudukke
Posts: 62
Joined: Wed Sep 27, 2023 4:15 am

Re: Turning off conversation UI for internal dialogue UI

Post by mudukke »

What I notice it doesn't even use the dialogue panel it just opens the default dialogue I am not using any override on the gameobject
Post Reply