Timeline Conversation On Timeline Play

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Ryno
Posts: 2
Joined: Mon Oct 17, 2022 3:08 pm

Timeline Conversation On Timeline Play

Post by Ryno »

Hi, I'm trying to play a timeline that contains a conversation, after one conversation.

I have a "conversation1", and the last node's sequence has a Timeline(play, cutscene1).

The cutscene1 plays with both tracks, the start and continue conversation, but it starts a different conversation "conversation2".

When the timeline plays every time it got to the continue conversation part in the timeline, the cutscene will exit out/stop completely. (some test added a node after "conversation1" and continues the "conversation1"?)

If I play the timeline by itself it will work fine, but if I try Timeline(play, cutscene1) in the sequence or use setactive( the cutscene object) 'Play on Awake' the conversation doesn't show up in the scene.
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Timeline Conversation On Timeline Play

Post by Tony Li »

Hi,

I'm guessing the problem is that conversation1's final dialogue entry is finishing and stopping the timeline when it finishes.

Use:

Code: Select all

Timeline(play, cutscene1, nowait, nostop)
'nowait' tells it not to wait for the timeline to finish.

'nostop' tells it not to stop the timeline when the dialogue entry finishes.
Ryno
Posts: 2
Joined: Mon Oct 17, 2022 3:08 pm

Re: Timeline Conversation On Timeline Play

Post by Ryno »

This kind of work, I wasn't able to switch to the different conversion but was able to continue the existing one so I just add to that one. Thanks!
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Timeline Conversation On Timeline Play

Post by Tony Li »

Glad to help!

By the way, you probably couldn't switch to the new conversation because the old conversation was still active. If you want to address this, you could start the new conversation later in the timeline, after the old version has finished; or start the new conversation using a Dialogue System Trigger set to OnConversationEnd.
Post Reply