How to shod subtitles without start conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SilverMoon17
Posts: 9
Joined: Tue Oct 17, 2023 2:06 pm

How to shod subtitles without start conversation

Post by SilverMoon17 »

Is it possible in Dialogue System for Unity to show subtitles without starting a dialogue. For example, I have an npc who should come up to me and tell me 1 phrase, I want a standard dialogue window to appear, but the dialogue itself does not start and this window disappears after a few seconds, something like Bark, but I need it did not depend on the NPC, but simply appeared relative to the screen
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to shod subtitles without start conversation

Post by Tony Li »

Hi,

You can still use a bark. You can create a screen space bark UI; it doesn't have to be a bubble above a character's head.

Alternatively, you could show an alert.

Or, if you want to use the dialogue UI, you could run a conversation that only has one text node.
SilverMoon17
Posts: 9
Joined: Tue Oct 17, 2023 2:06 pm

Re: How to shod subtitles without start conversation

Post by SilverMoon17 »

How should I create a screen space bark UI if it appears inside an actor object?
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to shod subtitles without start conversation

Post by Tony Li »

Hi,

Just set the Canvas's Render Mode to Screen Space - Overlay.
User avatar
Tony Li
Posts: 21678
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to shod subtitles without start conversation

Post by Tony Li »

I'm not exactly sure what you need to do, but here's an example. If you click on the NPC (the white capsule), it plays a conversation using overhead bubble subtitle panels. If you click on the button on the left, it uses the regular screen space subtitle panel.

DS_ShowDialogueExample_2024-01-26.unitypackage
Post Reply