'Always on' response menu?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
timbecile
Posts: 110
Joined: Mon Mar 12, 2018 11:00 pm

'Always on' response menu?

Post by timbecile »

Hi Tony,

is there a way to have the response menu (and the responses) always display? I'm trying to do a Might and Magic 6 sort of dialog where the NPC's text takes up most of the screen, and then the player chooses topics from a sidebar(using the response menu).

I'm planning my NPCs to only have a few topics and no branching, so I would want the same topics on screen at all times.
User avatar
Tony Li
Posts: 21070
Joined: Thu Jul 18, 2013 1:27 pm

Re: 'Always on' response menu?

Post by Tony Li »

Hi,

Remove the Animators from your dialogue UI's Dialogue Panel and Response Menu Panel.

Tick the StandardDialogueUI component's Conversation UI Elements > Don't Deactivate Main Panel, and untick Wait For Close. This will keep the main dialogue panel open, but each subtitle panel or menu panel inside the main dialogue panel will control its own active/inactive state.

Next, add an interior panel to your response menu panel that will hold your response UI buttons. Assign this to the StandardUIMenuPanel's Panel field, and also to the Button Template Holder if Button Template Holder currently points to the main response menu panel GameObject. This will hide the response buttons when the player clicks on. Untick Deactivate On Hidden. This will prevent the main response menu panel from deactivating.
timbecile
Posts: 110
Joined: Mon Mar 12, 2018 11:00 pm

Re: 'Always on' response menu?

Post by timbecile »

Thanks Tony! it mostly works...except that when the dialog ends it still stays up. should I be using something like {{end}} or anything?
User avatar
Tony Li
Posts: 21070
Joined: Thu Jul 18, 2013 1:27 pm

Re: 'Always on' response menu?

Post by Tony Li »

My misunderstanding; I thought you wanted it to stay visible always. If you want it to disappear when the conversation end, UNtick Don't Deactivate Main Panel again.
Post Reply