[solved] Dialogue UI/logic problem.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Japtor
Posts: 120
Joined: Thu Jun 28, 2018 1:41 pm

[solved] Dialogue UI/logic problem.

Post by Japtor »

Hi,

I am trying to open a UI panel after a conversation has finished.

I have created an entire dialogue. Also, the last node has no dialogue text, it only contains a Lua script that activates the new UI panel. The problem is, when it runs the last dialogue node, it seems that the Dialogue UI (which contains the last dialogue text node) keeps visible for about 2-3 seconds after disappearing. The idea is to make that dialogue UI invisible once it enters inside the node with the Lua script.

Any way to solve it? :)

Thanks!
Javier.
Last edited by Japtor on Mon Jul 23, 2018 12:28 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue UI/logic problem.

Post by Tony Li »

Hi,

Set the node's Sequence field to:

Code: Select all

None()
The delay is probably exactly 2 seconds, since this is the default minimum value to wait. The Dialogue Manager's Camera & Cutscene Settings > Default Sequence starts as "Delay({{end}})". The value of {{end}} is guaranteed to be at least the value of the Dialogue Manager's Subtitle Settings > Min Subtitle Seconds.

By setting the node's Sequence to None(), it will immediately end instead of using the Dialogue Manager's Default Sequence.
Japtor
Posts: 120
Joined: Thu Jun 28, 2018 1:41 pm

Re: Dialogue UI/logic problem.

Post by Japtor »

Hi,

Yeah, that helped me a lot!

Thanks! :)
Javier.
User avatar
Tony Li
Posts: 22057
Joined: Thu Jul 18, 2013 1:27 pm

Re: [solved] Dialogue UI/logic problem.

Post by Tony Li »

Glad to help!
Post Reply