When the game starts, the dialogue window runs once

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

When the game starts, the dialogue window runs once

Post by minomod »

1.8.2 There is a problem with the existing execution after the update.

1. When the game starts, the default dialog prefab runs once.
2. The normal dialog will be displayed next.
Attachments
1.png
1.png (116.45 KiB) Viewed 589 times
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: When the game starts, the dialogue window runs once

Post by Tony Li »

Hi,

1. In the conversation's START node, set Sequence to

Code: Select all

None()
2. If the dialogue UI uses animation, make sure it starts hidden.
  • You may need to set the Canvas Group > Alpha to 0:
    Image
  • In the Animator window, click on the transition arrow. Untick Has Exit Time:
    Image
If that doesn't help, please feel free to send me an example scene or project. I'll be happy to take a look.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: When the game starts, the dialogue window runs once

Post by minomod »

Generic Unity UI Dialogue UI <--- Normal
JRPG Unity UI Dialogue UI <- abnormal

Unity UI Prefabs <- Here are the prefabs running once.
Attachments
New Scene.unity.zip
(20.6 KiB) Downloaded 51 times
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: When the game starts, the dialogue window runs once

Post by Tony Li »

Hi,

For a quick fix, change the dialogue UI's Dialogue > Panel Animation Transitions > Transition Mode to Trigger.

The problem is that, when the Transition Mode is set to State, the dialogue panel plays its Hide animation when it initializes. If you want to use State, you'll need to adjust the animator so it doesn't play the Hide animation when it starts.

With the new Standard UI system in version 2.0, this isn't an issue any more.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: When the game starts, the dialogue window runs once

Post by minomod »

When will 2.0 be updated?
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: When the game starts, the dialogue window runs once

Post by Tony Li »

Hi,

Version 2.0 is available now on the Pixel Crushers customer download site. It should be available on the Unity Asset Store in a few business days. If you'd like access to the Pixel Crushers customer download site, please PM me your Unity Asset Store invoice number. Just the number is fine; you don't have to send the whole invoice.
minomod
Posts: 89
Joined: Mon Jun 19, 2017 9:17 am

Re: When the game starts, the dialogue window runs once

Post by minomod »

I will receive the Unity Asset Store when it is updated.
Thank you 2.0 update.
User avatar
Tony Li
Posts: 21033
Joined: Thu Jul 18, 2013 1:27 pm

Re: When the game starts, the dialogue window runs once

Post by Tony Li »

Hi,

It's available now on the Asset Store.

The online manual is here: http://www.pixelcrushers.com/dialogue_s ... al2x/html/

The video tutorials are here: http://www.pixelcrushers.com/dialogue-system-tutorials/
Post Reply