New To Quest Machine: Quest Not Activating

Announcements, support questions, and discussion for Quest Machine.
Post Reply
patriondigital
Posts: 2
Joined: Thu Dec 23, 2021 7:45 am

New To Quest Machine: Quest Not Activating

Post by patriondigital »

Hello,
As I put in the subject, I'm new to Quest Machine, and I'm following the Tutorials.

I have a project that's also using UFPS, and I've installed the extensions to get that working together with Quest Machine.

However, I can't get past the second video in the tutorial series.

I have a character set up with the Quest Giver script and have assigned my test quest to that.
I've also got the Interactable script with the target set to the Quest Give Interactable Target component.

I've set up the Interaction action in UFPS, and that part is working with the NPC character; when I press the interact button F, the UI dialog pops up with the text from the Offer Text set on the Quest Asset. I don't have any conditions set.

Looking at the NPC's Quest Giver component, I can see that pressing the Accept button is removing the Quest from the Quests list. But, when I look at the Quest Asset, in the Inspector the status is still Wating To Start. However, the HUD text from the Condition node's Active state displays, despite both the Start and Condition node being Inactive.

I'm not sure where to look to debug this. I tried looking at the UI, but editing the Quest Dialog UI script only brings up a "wrapper" script.
User avatar
Tony Li
Posts: 21928
Joined: Thu Jul 18, 2013 1:27 pm

Re: New To Quest Machine: Quest Not Activating

Post by Tony Li »

Hi,

After you accept the quest, inspect the player GameObject. The Quest Editor window should show the active copy of the quest that's in the player's Quest Journal component.

---

Here's an explanation:

The quest asset in your Project view will not change during play.

When the Quest Giver initializes, it will create an instance (an in-memory copy) of the quest asset.

I'm assuming the player has a Quest Journal component. When the player accepts the quest, the Quest Giver will create a new copy of its quest instance, and it will store this new copy in the player's Quest Journal.
patriondigital
Posts: 2
Joined: Thu Dec 23, 2021 7:45 am

Re: New To Quest Machine: Quest Not Activating

Post by patriondigital »

なるほど!
That's what I was looking for. I can see it now, the Journal Component on the Player updates when I inspect the nodes in the Quest Editor.
Thank you so much!
User avatar
Tony Li
Posts: 21928
Joined: Thu Jul 18, 2013 1:27 pm

Re: New To Quest Machine: Quest Not Activating

Post by Tony Li »

Happy to help! :-)
Post Reply