Page 1 of 1
Two DS triggers
Posted: Wed Aug 10, 2022 6:48 am
by hrohibil
Hi Tony
If I have a situation where I have two Dialogue system triggers on my NPC, and I want the second to be activated and the first disabled when the conversations are completed , how would you approach that?
Right now I am doing it with code..
Re: Two DS triggers
Posted: Wed Aug 10, 2022 7:07 am
by hrohibil
Wow..
Please see below image. I made a public method to remove the Dialogue system trigger and a collider. In the end node under its events i attached this script and link to its method.
I have not seen this error before
Re: Two DS triggers
Posted: Wed Aug 10, 2022 8:40 am
by Tony Li
The Dialogue Editor doesn't have a good reference to your database. Tips:
1. Try restarting Unity. Then double-click your dialogue database to open it in the Dialogue Editor.
2. Since you're working with a Dialogue System Trigger which is presumably in the scene, add a Scene Event. Don't use a Scene-Independent Event.
3. In the worst case, if the above doesn't work, delete that node and create it again.
Re: Two DS triggers
Posted: Wed Aug 10, 2022 9:55 am
by hrohibil
Thanks
Restarting it worked
Re: Two DS triggers
Posted: Wed Aug 10, 2022 10:10 am
by Tony Li
Glad to help!