I want to always show Response Menu

Announcements, support questions, and discussion for the Dialogue System.
nullpo
Posts: 6
Joined: Mon Dec 09, 2019 7:56 am

I want to always show Response Menu

Post by nullpo »

I'm still digging into documentation - sorry if this is detailed elsewhere.

I want to use the features provided by ResponseMenu to create a screen where users can always choose their choice.
Is there an easy way to meet this requirement using a template?

If not, do I have to make everything from scratch?

Thank you
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: I want to always show Response Menu

Post by Tony Li »

Hi,

If I understand you correctly, the Dialogue System works that way by default. Every player node (by default, blue nodes in the conversation editor) appears in a response menu.

It's possible to untick the Dialogue Manager's Input Settings > Always Force Response Menu. Then, if the player only currently has one response, the conversation will automatically use that response instead of showing it in a response menu.

If that isn't what you're asking, please provide a few more details on what you want to do. Or, if possible, some mock-up screens or sketches.
nullpo
Posts: 6
Joined: Mon Dec 09, 2019 7:56 am

Re: I want to always show Response Menu

Post by nullpo »

Sorry, I couldnt explain myself very well in my first post.

I am trying to make the ui dialogue system appear all the time, not only on talking to somebody. For example the dialogue system ui should already be displayed at begin play and never disappear, only the contents should change etc.

Thank you for an answer.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: I want to always show Response Menu

Post by Tony Li »

Thanks; I understand now. Unassign the Standard Dialogue UI's Dialogue Panel. If the Dialogue Panel has an animator that automatically hides it at start, remove the animator. Do the same for the main Panels of the Standard UI Subtitle Panels and Standard UI Menu Panels. Here's an example scene:

DS_UIAlwaysOpenExample_2019-12-09a.unitypackage
nullpo
Posts: 6
Joined: Mon Dec 09, 2019 7:56 am

Re: I want to always show Response Menu

Post by nullpo »

Tony, thank you.
I opened your example and had the error in the image.
Maybe i have an older version of the plugin?

Image
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: I want to always show Response Menu

Post by Tony Li »

Hi,

I exported from Unity 2019.2.14. If you're using an older version of Unity, it probably can't read the prefab.

What version of Unity are you using? I'll export the scene from that version.
nullpo
Posts: 6
Joined: Mon Dec 09, 2019 7:56 am

Re: I want to always show Response Menu

Post by nullpo »

I see!

The version I'm using is Unity2018.4.0f1.

Thank you.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: I want to always show Response Menu

Post by Tony Li »

Hi,

I just updated the example scene link in my post above.
nullpo
Posts: 6
Joined: Mon Dec 09, 2019 7:56 am

Re: I want to always show Response Menu

Post by nullpo »

Sorry I am pretty sure that the fault must be on my side, but I still have the same problem with the prefab depicted in the screenshot above, even with the updated link and 2018.4
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: I want to always show Response Menu

Post by Tony Li »

The previous example used assets from the demo scene. Maybe you had deleted the demo.

Here's an example that doesn't use any prefabs, and it doesn't rely on the demo scene assets.

DS_UIAlwaysOpenExample_2019-12-09b.unitypackage
Post Reply