Hide NPC panel during PC response

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
mikeasci
Posts: 10
Joined: Fri Jan 07, 2022 5:41 pm

Hide NPC panel during PC response

Post by mikeasci »

I am trying to hide the NPC panel when the PC response options show up on screen. I can't seem to find a setting that does it. Is this something I would have to do in script?

Thanks for any help.
User avatar
Tony Li
Posts: 22152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Hide NPC panel during PC response

Post by Tony Li »

Hi Mike,

Set the NPC panel's Visibility to Only During Content:

onlyDuringContent.png
onlyDuringContent.png (95.45 KiB) Viewed 276 times

Or, if you want to keep the Visibility dropdown set to a different value, configure the response menu panel's OnOpen() event to call the NPC panel's Close method:

menuPanelCloseSubtitle.png
menuPanelCloseSubtitle.png (75.11 KiB) Viewed 276 times
mikeasci
Posts: 10
Joined: Fri Jan 07, 2022 5:41 pm

Re: Hide NPC panel during PC response

Post by mikeasci »

Thank you so much Tony. For the life of me, I couldn't figure that out. Works great!
User avatar
Tony Li
Posts: 22152
Joined: Thu Jul 18, 2013 1:27 pm

Re: Hide NPC panel during PC response

Post by Tony Li »

Happy to help!
Post Reply