UIS/UCC with BD equip item issue

ChristianWiele

Active member
Hi,

I try to use UIS/UCC with an AI character running BD. I try to equip an item from the inventory which is in the main collection. I added the "Use Item From Inventory" task, and configured an item action set that refers to the CharacterEquipUnequip item action. The task requires to specify the amount I want to equip.
When I try to equip a mutable item (a throwable), and the amount is less than the amount in the inventory I get an error that the item cannot be added to the equippable collection as it is already added to the main collection. But there is no task to get the available amount to set it dynamically. The UCC integration only allows to get the amount for UCC inventory item identifiers, not for UIS.
It works fine if the full amount is equipped.
 
I've updated the UseItemFromInventory Task to have a boolean to use all the items in the collection. Does that solve the problem?
Please find the updated script attached
 

Attachments

  • UseItemFromInventory.cs
    3.9 KB · Views: 2
Top