How to creat dialogue log ui interface

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Triphail
Posts: 5
Joined: Sat Sep 11, 2021 12:43 pm

How to creat dialogue log ui interface

Post by Triphail »

I want to creat dialogue log ui interface by scroll view. Do you have component or script that can make it. How to get the dialogue conversation content, actor and conversant quickliy if not. I can get those messages through the inspector when scenes is playing, the dialogue UI get the messages and show the content.
And I find there are two conversant, one is edited through the dialogue node, other is the dialogue system trigger. I want to know their different, I think it doesn't seem to be of much use about the conversant of dialogue node. If I don't set it, the conversation can proceed normally, just can use [var=conversant] to do a little effect. And when I to creat narrator, I don't know what can to be as conversant, and I don't konw the meaning of it.
User avatar
Tony Li
Posts: 21986
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to creat dialogue log ui interface

Post by Tony Li »

Hi,
Triphail wrote: Sun Sep 12, 2021 4:33 amI want to creat dialogue log ui interface by scroll view. Do you have component or script that can make it.
Examine any of the dialogue UI prefabs in these folders: Scrolling, SMS, Runic, or WRPG. They all have a scrolling log. WRPG, for example, uses the subtitle panel's 'Accumulate Text' checkbox. SMS, on the other hand, uses a subclass of StandardDialogueUI.
Triphail wrote: Sun Sep 12, 2021 4:33 amHow to get the dialogue conversation content, actor and conversant quickliy
Each line generates a script message OnConversationLine. You can also get the current line's line from DialogueManager.currentConversationState.
Triphail wrote: Sun Sep 12, 2021 4:33 amAnd I find there are two conversant, one is edited through the dialogue node, other is the dialogue system trigger. I want to know their different
Please see: Character GameObject Assignments.
Post Reply