Fire script at convsaersation end

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hrohibil
Posts: 368
Joined: Thu Nov 04, 2021 12:50 pm

Fire script at convsaersation end

Post by hrohibil »

Hello

As I have Dialouge manager persistent between scenes I need a specific request.

Is it possible that I have a script attached to the prefab, I want this to call each time either a trigger is started or better yet each time a conversations ends
User avatar
Tony Li
Posts: 21975
Joined: Thu Jul 18, 2013 1:27 pm

Re: Fire script at convsaersation end

Post by Tony Li »

Hi,

Add your script to the Dialogue Manager. Then add a Dialogue System Events component to your Dialogue Manager, and configure the OnConversationEnd() event to call your script's method.
Post Reply