Need Help Removing Items from Equipment Array

This is a continuation of my Inventory System. With your help, I managed to equip items from my inventory to the equipment widget. But this time I want to un-equip the items and move back to the inventory. but it’s not working the way I want. Please watch my video explaining whats going on, it’s very short.

this is my AddToEquipment Function

This is my RemoveFromEquipment Function

This is my RefreshEquipment Function

200372-refreshequipment.png

Hello Mark,

I think there is a index problem.For example In array [6,7,8] if you remove index 0 your new array [7,8] but now index 0 get value 7. I hope helpful.

Without functions screen is hard to say, but after very fast check, 1st screen it will add item always to 0 position only in array Equipment.

Do you have any idea what I muist do?

Maybe this helpful.

thank you, I’ll give it a try