How to set Timeline speed to 1 after continue button is pressed?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
PepeJEe
Posts: 18
Joined: Sat Apr 24, 2021 8:39 am

How to set Timeline speed to 1 after continue button is pressed?

Post by PepeJEe »

Hey Tony,

Currently my timeline speed is set to 0 in my conversation "start node". I want to set it back to 1 when i press continue button in my last node.
How can i do that?

-Pepe :)
User avatar
Tony Li
Posts: 21722
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to set Timeline speed to 1 after continue button is pressed?

Post by Tony Li »

Hi,

You can use a sequencer command like this in the last node's Sequence field:

Code: Select all

required Timeline(speed, YourTimelineObject, 1)@Message(Continued)
PepeJEe
Posts: 18
Joined: Sat Apr 24, 2021 8:39 am

Re: How to set Timeline speed to 1 after continue button is pressed?

Post by PepeJEe »

Yess! Thank you Tony :)
User avatar
Tony Li
Posts: 21722
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to set Timeline speed to 1 after continue button is pressed?

Post by Tony Li »

Happy to help!
Post Reply