You are a genius!!! i love you so much.
I am no able to smallen the code in the hud to this:
instead of the 6 pictures i needed in the tutorial. I love you man!
Edit: even that can be shortened down to the function so no need to write millions blueprints:
Function InventorySpaces:
looks a bit messy but if you look at the previous picture in my post you know how it worksHud :
^ this is all what is left from the 6 pictures now
To draw the variable i now have created a function in the level blueprint:
and after i for example chop down a tree i create a variable called Item 1. set it to 1 and execute the function with variable you just created.
Bonus:
this is how clean my hud and level blueprint have become: