Page 1 of 1

Start Event

Posted: Sun Sep 19, 2021 2:49 pm
by ludo2vie
Hello,

Sorry for the question ;)

I would like to run a script through the Scene Event, but nothing happens at the end of the dialog.
Did I forget something?

Thanks for your feedback.

Image

Re: Start Event

Posted: Sun Sep 19, 2021 3:36 pm
by Tony Li
Hi,

Are there any errors or warnings in the Console window?

The last node of the conversation should call enddialogueMsg on the EnterDiane component on the DIANE 1 GameObject.

Two notes:

1. You can alternatively use a Dialogue System Events component's OnConversationEnd() event, or a script with an OnConversationEnd() method, or a Dialogue System Trigger set to OnConversationEnd.

2. Don't name your actor "[var=playerName]". Instead, give your player a static name such as "Player", and set the Display Name to [var=playerName].

Re: Start Event

Posted: Sun Sep 19, 2021 4:17 pm
by ludo2vie
Thanks for your response

Re: Start Event

Posted: Sun Sep 19, 2021 4:20 pm
by Tony Li
Glad to help!