FMOD integration how to check if audio finished

Announcements, support questions, and discussion for the Dialogue System.
Saper
Posts: 84
Joined: Tue Jan 12, 2021 11:25 am

Re: FMOD integration how to check if audio finished

Post by Saper »

Hi Tony

But this will always shoot on start of the conversation even when conversation starts from "Node 1" not "Start node"?
Sytuation when SequenceEnd shoot two times:
- Conversation start from start, and SequenceEnd shot two times on Node 1
- After the response node, SequenceEnd shot two times in next Node (Continue() sequnece on respons node helps with that)
User avatar
Tony Li
Posts: 23238
Joined: Thu Jul 18, 2013 1:27 pm

Re: FMOD integration how to check if audio finished

Post by Tony Li »

You're correct. What if you instead use an OnConversationLine(Subtitle) method and check if subtitle.dialogueEntry.id == 0 (i.e., <START>)?
Saper
Posts: 84
Joined: Tue Jan 12, 2021 11:25 am

Re: FMOD integration how to check if audio finished

Post by Saper »

Hi Tony

OnConversationLine(Subtitle) don't fire on Start Node.
User avatar
Tony Li
Posts: 23238
Joined: Thu Jul 18, 2013 1:27 pm

Re: FMOD integration how to check if audio finished

Post by Tony Li »

Can you use OnConversationStart(Transform) instead then for the <START> node?
Post Reply