Search found 5 matches

by variantpolygon
Thu Mar 18, 2021 11:14 am
Forum: Dialogue System for Unity
Topic: IncrementOnDestroy
Replies: 1
Views: 71

IncrementOnDestroy

I'm using IncrementOnDestroy for a kill quest in my game, however, whenever I try to use QuestConditions to check something, it references the demo scene quests (such as 'Get the Launch Codes'). I'm not sure why it's referencing that database and not my own quests. Also the variables from the demo s...
by variantpolygon
Sat Mar 21, 2020 9:19 am
Forum: Dialogue System for Unity
Topic: Accept/Abandon/Fail Quest sound
Replies: 6
Views: 432

Re: Accept/Abandon/Fail Quest sound

Awesome, it works! Thank you so much. Great asset by the way!
by variantpolygon
Fri Mar 20, 2020 5:50 pm
Forum: Dialogue System for Unity
Topic: Accept/Abandon/Fail Quest sound
Replies: 6
Views: 432

Re: Accept/Abandon/Fail Quest sound

Actually, I found the errors and fixed the script. But the audio doesn't seem to play when attached to the Dialogue Manager even when I add an AudioSource component. using UnityEngine; using PixelCrushers.DialogueSystem; public class QuestStateSounds : MonoBehaviour { // Assign the variables below i...
by variantpolygon
Fri Mar 20, 2020 5:13 pm
Forum: Dialogue System for Unity
Topic: Accept/Abandon/Fail Quest sound
Replies: 6
Views: 432

Re: Accept/Abandon/Fail Quest sound

Thank you so much for the quick reply and the script! However once I tried adding it to my game directory I get the following four console errors: Assets\Scripts\QuestStateSounds.cs(17,28): error CS1003: Syntax error, ':' expected Assets\Scripts\QuestStateSounds.cs(17,28): error CS1513: } expected A...
by variantpolygon
Fri Mar 20, 2020 4:23 pm
Forum: Dialogue System for Unity
Topic: Accept/Abandon/Fail Quest sound
Replies: 6
Views: 432

Accept/Abandon/Fail Quest sound

Is there a way to have a sound play when you accept a quest (same sound for all quests)? I would also know if it's possible to play a sound when you fail or abandon a quest. Thanks!