Unknown reason cause message not be going on

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

Sounds good. Whenever it's convenient for you.
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

I found a new question but it was similar with this question.
And before I send this discuss' project file ,I have sended the new question's project file with the support form.

Just describe the question here again:

I found a new problem when I tried
modified this discuss' example ( https://www.pixelcrushers.com/phpbb/vie ... uth#p19316 which was given by Tony )

The problem video:

You could see 11 second the conversation stop.
And I tried to delete the Hide Animation.It was worked.
It was similar with the question I asked in the forum,but the different place is I do not delete the dialogue UI's Hide Animation.I delete the Subtitle Panel 0's Hide Animation.

=================
Sorry I forgot reporting what I did in the dialogue....
I tried to add "SetPanel" before the problem conversation node with the same actor in the sequence .And the problem happened .
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

Hi,

This happens because all 3 subtitle panels share the same UI elements.

When you change panels, panel 1 plays its Show animation, but panel 0 plays its Hide animation at the same time. But they both play on the same UI elements. The result is that the UI elements end up hidden.

Here are two possible solutions:

1. Remove the Animators and Show/Hide Triggers from the subtitle panels. The main Dialogue Panel will still fade in and out when conversations start and end.

2. Or create separate UI elements for each subtitle panel. This way each panel can animate its own UI elements without affecting the other panels' UI elements.
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

Thank you,Tony!

I tried to understand the second solution,If I don't misunderstand,It is the same as what you said in this discuss (https://www.pixelcrushers.com/phpbb/vie ... 76&p=19351)
", set up a separate subtitle panel for each speaker. Assign them to the Standard Dialogue UI component's Subtitle Panels list, and make a note of each one's element number (aka panel number). Then add a Dialogue Actor to each speaker's GameObject and set Dialogue UI Settings > Subtitle Panel Number to the corresponding subtitle panel."
right?

If It is true,maybe it is not a good solution to me,just because the solution would let the portrait in a fixed place.we want to let our character put a custom position in a right situation.

So maybe the good way is also to cancel the Hide Animation to me,Thank you.
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

Hi,

If you want the separate subtitle panels to look like they are the same panel, you can put them all in the same place so they overlap each other.
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

Tony Li wrote: Wed Sep 16, 2020 9:38 am Hi,

If you want the separate subtitle panels to look like they are the same panel, you can put them all in the same place so they overlap each other.
No I just want my character sometimes appear in position 0 sometimes in position 1 or position2(the script writer could use sequence control it)..But I tried to use the second solution, I can't do that(so I am not sure maybe I misunderstand something).
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

In that case, the subtitle panels can share the text field. But the panels' Visibility should be set to Always Once Shown or Always From Start, and the focus/unfocus animations should not hide the text panel; they should only focus/unfocus the panel's portrait image.
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

Tony Li wrote: Wed Sep 16, 2020 8:25 pm In that case, the subtitle panels can share the text field. But the panels' Visibility should be set to Always Once Shown or Always From Start, and the focus/unfocus animations should not hide the text panel; they should only focus/unfocus the panel's portrait image.
I think maybe I misunderstand something....sorry ..I still don't know how to do...
could you tried to modified my project which was sened in e-mail,show how to do this in second solution..thanks...
User avatar
Tony Li
Posts: 22051
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unknown reason cause message not be going on

Post by Tony Li »

I don't understand what you want to do in your scene that is different from the original Animated Portrait Example scene.
shortlin
Posts: 73
Joined: Wed Jun 03, 2020 1:52 am

Re: Unknown reason cause message not be going on

Post by shortlin »

Tony Li wrote: Wed Sep 16, 2020 9:10 pm I don't understand what you want to do in your scene that is different from the original Animated Portrait Example scene.
well, I think I misundertanded what you said,because my problem is using animation in Hide Animation and Show animation in same time,It would be problem.so I saw you said the second soulution could fiexed it,I tried to use it,but I could not do this with my purpose which is setting the character in my custom place.
Post Reply