UIS+Quest Machine Quest Generator Entity counter setup

fx10fn

Member
Hi,

I've setup a scene with UIS+Quest Machine, the Quest Generator Entity is almost working but I have a problem the counter, it stays as 0 even if I picked up the items so that the quest can never to completed. Basically, I would need the counter to be sync with the quantity of the item "Wood" in the UIS inventory. I noticed the "UIS QM Demo" scene, it defines a "Fetch" action with Base Counter Name "Collected" and Update Mode "Messages". I wonder how this way keeps track of (or connect to) an actual item number change in the inventory?

Some of my setup as the attached screenshot.

I read the integration doc as it says:

Chapter 5: Quest Generation
...
3. Create action(s) using UIS Get Item Action, or use the demo’s pre-made Fetch action.

Could anyone give me more details on the setup as well as more explanation?
Thanks.
 

Attachments

  • Screenshot 2024-11-18 QM UIS counter issue.png
    Screenshot 2024-11-18 QM UIS counter issue.png
    764 KB · Views: 1
Perhaps TonyLi from Pixel Crushers can help you out. He is the developer of QuestMachine and the one that wrote the integration with the Inventory System.
 
Perhaps TonyLi from Pixel Crushers can help you out. He is the developer of QuestMachine and the one that wrote the integration with the Inventory System.
Thank you! I've contacted Tony and he gave me more info about the integration. It turns out that the Quest Machine quest entity name must be exactly the same as the item definition name in inventory, otherwise the counter isn't working.

No problem now.
 
Back
Top