Search found 10 matches

by gourangas
Mon Jun 26, 2023 12:58 pm
Forum: Dialogue System for Unity
Topic: OnConversationLine (Subtitle) triggered multiple times
Replies: 5
Views: 367

Re: OnConversationLine (Subtitle) triggered multiple times

Nvm, I think I am handling the active conversation poorly. I will figure it out.
Thanks for the help
by gourangas
Mon Jun 26, 2023 12:40 pm
Forum: Dialogue System for Unity
Topic: OnConversationLine (Subtitle) triggered multiple times
Replies: 5
Views: 367

Re: OnConversationLine (Subtitle) triggered multiple times

By the way, I am calling StartConversation() with actor transform as NULL and othe participant transform NULL as well....
Do you have a clean way to handle subtitle events ? And no... I don't want to use the event in the line database inspector :D
by gourangas
Mon Jun 26, 2023 12:37 pm
Forum: Dialogue System for Unity
Topic: OnConversationLine (Subtitle) triggered multiple times
Replies: 5
Views: 367

Re: OnConversationLine (Subtitle) triggered multiple times

Damn.... thx for the tip. Apparently if I have a public method named OnConversationLine(Subtitle) on the script where I am also calling DialogueManager.StartConversation() it is automatically subscribed to the Dialogue System Events.... am I right?
by gourangas
Mon Jun 26, 2023 9:51 am
Forum: Dialogue System for Unity
Topic: OnConversationLine (Subtitle) triggered multiple times
Replies: 5
Views: 367

OnConversationLine (Subtitle) triggered multiple times

Hey Tony, I am trying to implement my own DialogueUI, implementing the IDialogueUI interface. So far so good, but I don't understand why this event is being fired multiple times. I have a DialogueSystemEvents script attached to my DialogueUI prefab, there I assigned a callback to the OnConversationL...
by gourangas
Wed Oct 28, 2020 8:39 am
Forum: Dialogue System for Unity
Topic: How to get last line (entry)
Replies: 4
Views: 247

Re: How to get last line (entry)

Ok so I've discovered the DialogueSystemEventsComponent and I'll use that. If you still want to answer with a different solution (probably the correct one, cause I feel like I am patching up a ship that's going to wreck soon :)) ) I'd be glad to hear it. Have a nice day and great job with this tool ...
by gourangas
Wed Oct 28, 2020 8:31 am
Forum: Dialogue System for Unity
Topic: How to get last line (entry)
Replies: 4
Views: 247

Re: How to get last line (entry)

Hey, Great info, everything works. The only problem is that OnConversationLine() doesn't really get triggered on each line :). OnConversationStart() does not trigger as well.... so I'm always missing the first line. What I did is I inherited the StandardUISubtitlePanel in my PanelController, so that...
by gourangas
Mon Oct 26, 2020 10:46 am
Forum: Dialogue System for Unity
Topic: How to get last line (entry)
Replies: 4
Views: 247

How to get last line (entry)

Hey Tony, So I've got setup a series of monologues (only a narrator talks) for a puzzle game. Each puzzle starts with a dialogue entry and I've also set up a continue button to cycle through the lines (for that puzzle). I'm starting the conversation calling OnUse() from my dialogue trigger component...
by gourangas
Mon May 11, 2020 7:58 am
Forum: Dialogue System for Unity
Topic: Custom timer & triggering events at dialogue lines
Replies: 1
Views: 465

Custom timer & triggering events at dialogue lines

Hello, again :), I am trying to create a custom quest timer. After a lot of research the only solution that I was able to work with was AddLuaObserver(). As a general idea, I found it very difficult to trigger custom events depending on the ongoing dialogue line (subtitle). And I don't mind using th...
by gourangas
Mon May 04, 2020 1:16 pm
Forum: Dialogue System for Unity
Topic: How to end a conversation via script
Replies: 9
Views: 758

Re: How to end a conversation via script

Works like a charm, thanks for the info
by gourangas
Mon May 04, 2020 10:11 am
Forum: Dialogue System for Unity
Topic: How to end a conversation via script
Replies: 9
Views: 758

How to end a conversation via script

Hey, First of all I want to congratulate you guys on the product, its amazing. Now my problem is; I have an open NPC dialogue panel (so its not a finished conversation) and I would like to end it via script. I've looked around through the code and I've only managed to hide it using PixelCrushers.Dia...