Unable to automatic equip item after picked up

yyycct

New member
Hello,
We are trying to add the dart game in our project, and we followed the setup for the grenade, and used the item builder to create the dart item. Also created the dart type and it's category. Added the toggle equipped and equipped and unequipped item abilities with category set to the dart category. Also added the dart category to the item set manager as well with it's own set rule. Sat up the item pick up with animation id set to the same with grenade because we currently does not have one for throwing the dart yet, however the dart was picked up and added to the inventory, however it is not automatically equipped even with the Equip set to true in the item pick up script. Here are the screenshot of the setup, thank you so much for any help!
Best

Throwable action are added as well, similar to grenade setup.
Screenshot 2023-05-30 231228.png


item type
Screenshot 2023-05-30 231303.png

dart set rule
Screenshot 2023-05-30 231336.png

Item set manager
Screenshot 2023-05-30 231436.png
 
There are likely some conditions that are preventing it from being equipped. The best way to debug this is to place a breakpoint within EquipUnequip.OnPickupItem and see what is causing the item not to be equipped.
 
Top