Retrieve values of specific item inside an Array
Below is my inventory system that I followed from a tutorial. How do I add both item values from different indexes in my inventory? I want to be able to print the 'X' value as 12, instead of 'X' value as '10' and '2' separately, so I can get the exact total amount of 'X' item inside my inventory.
Can anyone provide me some insights on this? Thanks.
asked Jun 02 '18 at 06:26 PM in Blueprint Scripting
Alright, I finally managed to solved this. Hope this helps for anyone who encounter the same problem
I ended up creating new function and just use it whenever necessary, in my case I'm calling it inside the function where new items are added into the inventory.
Follow this question
Once you sign in you will be able to subscribe for any updates here