Need Help Please!

I am having an issue where my items are duplicating when I try and move them from the inventory slot to the equipment slot can someone help me solve this? Inventory Slot Blueprint posted by anonymous | blueprintUE | PasteBin For Unreal Engine

Player Slot Blueprint posted by anonymous | blueprintUE | PasteBin For Unreal Engine

Hey veevogames1!

I see a probable cause. In one of the links the “Remove Amount at Index” is targeting the Backpack component, and in the other it’s targeting the ThirdPersonCharacter. This would likely mean the array isn’t being updated correctly with the refresh.

Check that out and let us know how it went!

It’s also to be noted that you’ve chosen to return true, even when it fails. Usually, one decides to return false on the success of the drop if it fails, so the original drag operator can react to it.

I get the same results either way, Items are still duplicating… I’m stumped!

Also fixed this issue but still getting the same results

@BrainDeadLabz Can you clarify which one is yours and which one is the original?

I noticed this difference as well.

This is “Inventory Slot Blueprint”
image

This is “Player Slot Blueprint”
image

I’m not sure that this would fix the duplication but without this I don’t know how it’s slotting. Does that give you any ideas?

both blueprints are part of my project. one is for inventory slots and the other is equipment slots. I followed a tutorial on YouTube. and honestly, I’ve tried the code both ways and it still does the same thing Its very frustrating.

No worries veevo!

So can you give me the link to that youtube tutorial? I’ll comb through it and see what I can find. I’m thinking there’s supposed to be something reducing an amount somewhere else that isn’t on these graphs.

Get that back to us and I’ll take a look!

Here it is. Thanks again

I ended up buying an inventory system in the marketplace and created a new project… Thanks for all the help It was a blessing

1 Like

Of course veevogames1!

I’m sorry we weren’t able to solve your original problem, but I’m glad you were able to reach an acceptable solution. Don’t be afraid to reach out again if you have any more issues with your game!