Download

Drag & Drop in different Inventories or Storages

Hello everyone,

I am trying to recreate an inventory like Tarkov. You have your main inventory, but also mini-item-inventories (backpacks) where you can store stuff as well.

I’m stuck at trying to transfer Items with Drag’n’Drop from one inventory to another, from inventory to storage and/or the opposite. If I use the same Inventory Component in different inventories, it will add it in the new, BUT not remove it from the previous one.

  1. Is there a way to recognize from which UI you dragged it and where you drop it? Will the tags on the drag/drop operation help somehow?. What about this “get cached geometry” node?
  2. Should I make the storage a different Inventory Component System?

Thank you for your time!