Two menu panels

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Arturicon
Posts: 12
Joined: Mon Mar 11, 2024 2:52 pm

Two menu panels

Post by Arturicon »

Hello. I have maybe a little strange task. So i need two active menu panel at the same time. The question is how can i activate second panel at specific moment and deactivate when chose has done. And is there a way to mark somehow my response dialogue entry to program know which one send to first menu panel and which to the second. Is it possible?
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Two menu panels

Post by Tony Li »

Hi,

Can you post a mock-up or sketch of what you want it to look like?
Arturicon
Posts: 12
Joined: Mon Mar 11, 2024 2:52 pm

Re: Two menu panels

Post by Arturicon »

The idea is to have opportunity to ask advice from your companions before make an answer. Icons of
companions appears on the left side when time to answer has come. When you push one of icons the text of advice has to appear on subtitle panel. So i imagine that this side panel of icons can be just usual dialogue entries but they will be look like icons. But to make it i has to distinguish dialogue entries which has to became the icons from usual and show them on second menu panel.
I'm sorry, I'm not sure that im explaining it well.
I don't know maybe there is another way to achieve what i want
Attachments
LLzk8XTNXnM.jpg
LLzk8XTNXnM.jpg (266.72 KiB) Viewed 181 times
Screenshot 2024-04-05 205025.png
Screenshot 2024-04-05 205025.png (132.83 KiB) Viewed 181 times
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Two menu panels

Post by Tony Li »

Hi,

Thank you for the screenshot. Here's an example scene:


DS_PositionedResponsesExample_2024-04-05.unitypackage


The dialogue UI is set up with these response buttons:

positionedResponses1.png
positionedResponses1.png (222.17 KiB) Viewed 177 times

The response dialogue entries that are for advice text use [position=#] markup tags:

positionedResponses2.png
positionedResponses2.png (41.78 KiB) Viewed 177 times
Arturicon
Posts: 12
Joined: Mon Mar 11, 2024 2:52 pm

Re: Two menu panels

Post by Arturicon »

Thanks a lot for you help. It's work well. I just don't understand what does this condition means:
Dialog[thisID].SimStatus ~= "WasDisplayed"
User avatar
Tony Li
Posts: 22110
Joined: Thu Jul 18, 2013 1:27 pm

Re: Two menu panels

Post by Tony Li »

Hi,

That checks if the dialogue entry was shown already. Please see SimStatus.
Post Reply