Im implementing the dialogue system into my NPCS using a behaviour tree. I want to pause the behaviour tree until the dialogue (or subtitle or bark) is finished then resume the Behaviour Tree.
Im using audio voice acting and in the sequence i have "AudioWait" for the bark or subtitle be on screen until the audio finisehs.
Is there a callback where i can subscribe to get a event when the bark or subtitle is finished?
thanks!
CallBack for end of subtittle or bark
Re: CallBack for end of subtittle or bark
Hi,
To be notified when a subtitle has ended, add a script with an OnConversationLineEnd(Subtitle) method to your Dialogue Manager, or add a Dialogue System Events component and use the OnConversationEnd() UnityEvent.
For barks, add an OnBarkEnd(Transform) method.
To be notified when a subtitle has ended, add a script with an OnConversationLineEnd(Subtitle) method to your Dialogue Manager, or add a Dialogue System Events component and use the OnConversationEnd() UnityEvent.
For barks, add an OnBarkEnd(Transform) method.