Completing quest by just having conversation

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
davidsibya08
Posts: 57
Joined: Sun Feb 12, 2017 2:11 pm

Completing quest by just having conversation

Post by davidsibya08 »

Hi. I tried to make the state of the quest into 'SUCCESS' by just having a conversation with a certain NPC and I was able to get that. But the problem is that in the Quest Log Window under 'Completed' the quest is not visible as completed even though I already set it into a 'SUCCESS' state. Why is that?
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Completing quest by just having conversation

Post by Tony Li »

Hi,

Quest states are case-sensitive, so "SUCCESS" is different from "success". If you're using the Lua wizard, the point-and-click dropdowns will automatically use the correct case.

If your quest log window is open during the conversation, please make sure you're using Dialogue System 1.6.6.1 or higher. Version 1.6.6.1 improved the process so if a quest state changes while the quest log window is open the quest log window will automatically reflect the change.
davidsibya08
Posts: 57
Joined: Sun Feb 12, 2017 2:11 pm

Re: Completing quest by just having conversation

Post by davidsibya08 »

I really don't know how to update this or what because a good friend of mine just gave it to me as a custom package or something like that. I think his account in Unity was the one able to bought the asset. I'm just a student so I really couldn't afford to buy. He said he wanted to help me so he gave me the asset for about months now. I believe I'm using v1.5.9

I tried to make it into 'success' state and still when I open the Quest Log Window it wasn't able to update the state. It is expected to be included in the 'Complete' but it wasn't there.

Sir maybe you could help me with another problem of triggering the conversation using a button? I really don't get it. The button should be always visible and can trigger the conversation when it is near the range of the NPC. It's like an action button that triggers almost everything in the game which includes the conversation.
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Completing quest by just having conversation

Post by Tony Li »

davidsibya08 wrote:I really don't know how to update this or what because a good friend of mine just gave it to me as a custom package or something like that. I think his account in Unity was the one able to bought the asset. I'm just a student so I really couldn't afford to buy. He said he wanted to help me so he gave me the asset for about months now. I believe I'm using v1.5.9
That's called piracy, my friend. ;) But we do try to help out students. If you send an email to tony (at) pixelcrushers.com from a school email address, I'll set you up with a free academic version.
davidsibya08 wrote:Sir maybe you could help me with another problem of triggering the conversation using a button? I really don't get it. The button should be always visible and can trigger the conversation when it is near the range of the NPC. It's like an action button that triggers almost everything in the game which includes the conversation.
Add a Conversation Trigger to the NPC. Set its Trigger to OnUse. Configure your UI Button's OnClick() event to call the Conversation Trigger's OnUse method (ConversationTrigger.OnUse).
davidsibya08
Posts: 57
Joined: Sun Feb 12, 2017 2:11 pm

Re: Completing quest by just having conversation

Post by davidsibya08 »

Thank you for your response sir. :)

Do you mean the email of our school? Okay. I'll try to ask our school Administrator if its fine for them.

I want to ask again. Yes, the button is already functioning as the trigger of the conversation but I want it to be only activated when the Player is near the NPC. What happens in my case is that even though I'm too far from the NPC when I click the button it triggers immediately the conversation. Or in any situation, when I clicked the button it just triggers the conversation immediately.
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Completing quest by just having conversation

Post by Tony Li »

Hi,
You can use a Range Trigger.

Add it to the NPC. Add a trigger collider to the NPC. Assign the button to the Components list.

You might also want to take a look at Proximity Selector.
davidsibya08
Posts: 57
Joined: Sun Feb 12, 2017 2:11 pm

Re: Completing quest by just having conversation

Post by davidsibya08 »

I made it. But I got really one more problem sir. I have lot of NPC in the game and so when it triggers the conversation it triggers the NPC Conversation from the other NPC which i set into Button On Click(). I want it to trigger their own assigned conversation when I start the conversation.

I am still making moves to our school administrator for us to get your free academic version.

Thank you again sir. Bless you. :)
davidsibya08
Posts: 57
Joined: Sun Feb 12, 2017 2:11 pm

Re: Completing quest by just having conversation

Post by davidsibya08 »

Sir Tony, a pleasant day! I really need your help. Our school administrator is still not responding for my request to send you a mail in order to get a free academic version of the Dialogue System for Unity. I don't know what to do now, our project adviser is also waiting for the response of the school.

Is it not possible for you to send to us the academic version? I really am struggling with my project and I can't help myself to buy your asset. I still a student and have no enough money to buy it. I live in Philippines. I hope you could help me. Thank you.
User avatar
Tony Li
Posts: 22062
Joined: Thu Jul 18, 2013 1:27 pm

Re: Completing quest by just having conversation

Post by Tony Li »

Hi - I sent you a PM.
Post Reply