On next entry event

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
matt7188
Posts: 1
Joined: Thu Sep 01, 2022 2:33 pm

On next entry event

Post by matt7188 »

Is there a way to get an "on next entry" event or trigger? I am trying to write code that is listening out for every time the dialogue moves to the next speaker, but OnConversationLine only activates once for the whole dialogue tree, and OnConversationLineEnd doesn't trigger at all, assuming I am calling them correctly. I was thinking perhaps OnPrepareConversationLine could help, but it doesn't seem to be an option in the Dialogue System Events. Any thoughts?
User avatar
Tony Li
Posts: 22144
Joined: Thu Jul 18, 2013 1:27 pm

Re: On next entry event

Post by Tony Li »

Hi,

OnConversationLine() is invoked for every dialogue entry, even if the dialogue entry's subtitle isn't shown. It's invoked on the Dialogue Manager GameObject and both conversation participants.
Post Reply