Page 1 of 1

Ultimate Inventory System Item Counter Question

Posted: Tue Mar 04, 2025 12:25 am
by jkaczmar
I have UIS working with QM to count things like number of items in inventory for quest control, but is there a way to reflect the current number of UIS items in the QM UI? For example, the player has 5 of 10 Heal Weeds and I want to show this in the HUD so they know how many more they have to pickup.

I understand that I can use the QM messaging system to increase a QM counter that is managed separately {#healweeds}/10 Heal Weeds but this creates a separate process from the quest control which is managed by the UIS Item count. If this is the way it has to be done, that's fine. I just want to make sure I'm not creating extra work for myself because I'm missing something that has already been built out in the integration.

Re: Ultimate Inventory System Item Counter Question

Posted: Tue Mar 04, 2025 8:09 am
by Tony Li
No, the intended approach is to let the UIS Item Amount Quest Condition keep a quest counter in sync with the inventory. This way everything else in your quest / Quest Machine can work with quest counters without having to do anything else special for UIS.

Re: Ultimate Inventory System Item Counter Question

Posted: Tue Mar 04, 2025 9:46 am
by jkaczmar
Sorry, I totally missed the field to match the UIS count with the counter (in my case zombieguts). I was parsing through the UIS/QM example, and I couldn't figure out for the life of me how you were incrementing the #weeds counter. It was staring me in the face the entire time.
counter question.png
counter question.png (63.51 KiB) Viewed 4186 times