Page 1 of 1
How to play Timeline and close dialogue Ui from last node's sequence field
Posted: Mon Jul 11, 2022 7:39 pm
by PepeJEe
Hey! I am trying to play timeline when I press "I got the coins" button which is the last node in the conversation. I am able to play the "ScoutFarewell" timeline using speed or play, but the ui doesn't close, it will stay open. Could use a little help, thanks
-best wishes, Pepe
Re: How to play Timeline and close dialogue Ui from last node's sequence field
Posted: Mon Jul 11, 2022 8:03 pm
by Tony Li
Hi,
Timeline(speed) should run right away and allow the conversation to end. If you were to use the
Timeline() command's 'play' or 'resume' parameters on the last node, include the 'nowait' and 'nostop' to allow the conversation to end while the timeline continues playing.
Re: How to play Timeline and close dialogue Ui from last node's sequence field
Posted: Mon Jul 11, 2022 8:29 pm
by PepeJEe
I tried with both the speed and play, including [nowait] [nostop] but i't still doesn't end the conversation. The last node is staying green. Oh and I just realized it gave me this weird error?
Re: How to play Timeline and close dialogue Ui from last node's sequence field
Posted: Mon Jul 11, 2022 8:45 pm
by PepeJEe
I managed to get rid of the error. And now the ui closes. I include these [] with "nowait" and "nostop" which messed it up a bit, stupid me...
Thank you Tony!
-Pepe
Re: How to play Timeline and close dialogue Ui from last node's sequence field
Posted: Tue Jul 12, 2022 9:05 am
by Tony Li
Hi Pepe,
I'm glad you got it working. For future readers: square brackets around parameters is a convention that means the parameter is optional. If you include the parameter, do not include the square brackets.
Re: How to play Timeline and close dialogue Ui from last node's sequence field
Posted: Wed Jul 20, 2022 8:53 pm
by Aldurroth
this was really helpful!