Search found 6 matches

by MaksimJ
Sun Jul 21, 2024 2:32 pm
Forum: Dialogue System for Unity
Topic: How to have blocking and non-blocking dialogues
Replies: 7
Views: 514

Re: How to have blocking and non-blocking dialogues

Lol.. I figured it out:D I accidentally TICKED ON the "RunOnConversationEnd Events At End of Frame"... My bad! Unticked that and everything works perfectly:D Hope you don't mind me thinking out loud, just wanted to leave my solutions out there in case anyone has similar problems in the fut...
by MaksimJ
Sun Jul 21, 2024 2:21 pm
Forum: Dialogue System for Unity
Topic: How to have blocking and non-blocking dialogues
Replies: 7
Views: 514

Re: How to have blocking and non-blocking dialogues

Progress update: I have a feeling this might be what is causing the issue:

Code: Select all

private IEnumerator InvokeOnConversationEndAtEndOfFrame(Transform actor)
{
    yield return endOfFrame;
    conversationEvents.onConversationEnd.Invoke(actor);
}
But I might be wrong
by MaksimJ
Sun Jul 21, 2024 1:55 pm
Forum: Dialogue System for Unity
Topic: How to have blocking and non-blocking dialogues
Replies: 7
Views: 514

Re: How to have blocking and non-blocking dialogues

Works like a charm, thank you!:D I'm really impressed by this asset, amazing quality. I have one more quick question: When one conversation interrupts another conversation, it does not work for some reason due to the order in which the end conversation event is triggered... My code looks like this: ...
by MaksimJ
Sun Jul 21, 2024 7:36 am
Forum: Dialogue System for Unity
Topic: How to have blocking and non-blocking dialogues
Replies: 7
Views: 514

Re: How to have blocking and non-blocking dialogues

More progress, this is how my code is looking so far DialogueManager.Instance.StopAllConversations(); DialogueManager.Instance.SetContinueMode(shouldLock); DialogueManager.Instance.displaySettings.subtitleSettings.requireContinueOnLastLine = shouldLock; DialogueManager.StartConversation(conversation...
by MaksimJ
Sun Jul 21, 2024 6:22 am
Forum: Dialogue System for Unity
Topic: How to have blocking and non-blocking dialogues
Replies: 7
Views: 514

Re: How to have blocking and non-blocking dialogues

I think I made slight progress - I found that there is the method to SetContinueMode to false, then I can call SetOriginalContinueMode to revert to the original state once the conversation is finished. At the moment I am taking away control form the player by using the DialogueSystemEvents component...
by MaksimJ
Sun Jul 21, 2024 5:38 am
Forum: Dialogue System for Unity
Topic: How to have blocking and non-blocking dialogues
Replies: 7
Views: 514

How to have blocking and non-blocking dialogues

Hello! So far, I really like the asset, I just have this little issue. For my specific case I essentially want to have 2 different types of dialogue: - Blocking: when you stop and talk to NPC characters, you lose control over your character and have to pick choices etc.. - Non-blocking: you might be...