Page 1 of 1

Fire script at convsaersation end

Posted: Sun Jul 24, 2022 10:15 am
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

Re: Fire script at convsaersation end

Posted: Sun Jul 24, 2022 11:38 am
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.