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
How to play Timeline and close dialogue Ui from last node's sequence field
How to play Timeline and close dialogue Ui from last node's sequence field
- Attachments
-
- image2.PNG (75.04 KiB) Viewed 579 times
-
- image1.PNG (56.37 KiB) Viewed 579 times
Re: How to play Timeline and close dialogue Ui from last node's sequence field
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.
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
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?
- Attachments
-
- image4.PNG (42.26 KiB) Viewed 574 times
-
- image3.PNG (501.67 KiB) Viewed 574 times
Re: How to play Timeline and close dialogue Ui from last node's sequence field
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
Thank you Tony!
-Pepe
Re: How to play Timeline and close dialogue Ui from last node's sequence field
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.
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
this was really helpful!