Does your HUD text contain the tag below?
Is the problem that the HUD text doesn't update, but the quest counter does correctly update on the player's active copy of the quest?
If the quest counter updates but the HUD text doesn't, please double-check the HUD text tag, counter name, and item name.
If the quest counter doesn't update at all, does your player prefab have a
Quest Journal For ORK component?
Here's an updated ORK Support package:
QM_ORKSupport_2018-08-05.unitypackage
The only change is that it adds the name of the GameObject to debug messages, which may make it easier to identify the issue.
In the Demo's scene "0 Main Menu QM" scene, If you tick the Quest Machine's Debug checkbox, the player's
Quest Journal For ORK component will log this message to the Console / output log file:
Code: Select all
Quest Machine: Player QM(Clone) will monitor inventory to sync player inventory counts to quest counters.
If you tick Green Pants' Monitor Player Inventory checkbox in the "1 Town QM" scene (which isn't necessary in this demo), it will also log this:
Code: Select all
Quest Machine: NPC_green will monitor inventory to sync player inventory counts to quest counters.
You only need to tick that checkbox on the NPC if it needs to monitor the player's inventory for quest autostart or offer conditions. Most of the time you can leave it unticked like in the demo. The message above will actually appear 3-4 times as ORK changes around the group settings, adding the NPC to a battle group, etc. Each time, Quest Machine will re-register for inventory change events to make sure it's always up to date.
When you accept the quest, you should see messages like this:
Code: Select all
Quest Machine: Will synchronize inventory count of item 'Cap' to quest counter in 'fetchCap'.
Quest Machine: My Head's Cold!.SetState(Active, informListeners=True)
Quest Machine: Syncing inventory count of 0 Cap to quest counters.
And when you find a Cap, it will log this message:
Code: Select all
Quest Machine: Syncing inventory count of 1 Cap to quest counters.
If you can't get your Wood quest to do the same, please feel free to send a copy of your project to tony (at) pixelcrushers.com or send screenshots of whatever you think might be relevant. If you want to send your project, please zip up the Assets and ProjectSettings folders. I won't need any other folders. This will keep the file size relatively small.