Hide NPC Name When Response Menu Shows

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Kosmic
Posts: 11
Joined: Fri Mar 12, 2021 8:24 am

Hide NPC Name When Response Menu Shows

Post by Kosmic »

Hi,

Sorry if this has been covered before, I have searched the forum and been through the Dialogue Manager and UI options but I can't seem to find the right options.

When the response menu comes up I would like to hide the NPC name so that I can have all the names in the same place without the text overlapping. It works when I swap between NPC and PC subtitles panels (I have them set to Until Superseded in Visibility) but when it swaps to a Response menu the NPC name is still visible as well. Is there a way to do this? I am using the Focus Template if this helps.

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

Re: Hide NPC Name When Response Menu Shows

Post by Tony Li »

Hi,

Only subtitle panels supercede each other. Try configuring the response menu panel's OnOpen() UnityEvent to deactivate the subtitle panels' Portrait Names. The subtitle panels will automatically reactivate them when needed.
Kosmic
Posts: 11
Joined: Fri Mar 12, 2021 8:24 am

Re: Hide NPC Name When Response Menu Shows

Post by Kosmic »

Worked perfectly, thank you!
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Hide NPC Name When Response Menu Shows

Post by Tony Li »

Happy to help!
Post Reply