Hi there, This is my base inventory system thing.
-I created an array, that is adds the objects the player traces to into the array" Try One MOO "
-Based off of this I Am using a special machine(From my game) that will spawn the the based on what the array contains, using the “Contains Item” on my array node.(Shown Below)
2 problems are:
1:The item spawner only works once throughout the game and never works a second . meaning i can spawn in either objects based on the first coin i picked up…But only once.
2:On my actor array, look at contains items…There are none to pick from. So i have to use a “cast to Node” and get the from that to plug into the “Contains Item Node” Is there a better way to do this?
I got you on this one.
Just learnt it
I need to boot UE4 and get some details for you
Ok
First up for me, my locations/vectors, here are 2 out of ten.

Then put them in to 2 arrays are they are for different things for me.
I set it up so they only spawn if the have stock, so the “Stock” array
Set a Variable - Current Location Selling. set to 0 / +1 after each loop
Set a branch, if 0 Stock then skips that section of the array
I then got my Location Array and did the following.
And in the end set Current Location Selling VAR back to 0 again.
HI
Also, I forgot to mention, when I destroyed, I found I needed to rebuild the arrays for some reason, but this was for widget and the data shown on the widgets.
okay well how did you add an to the array? Since my adding objects to arrays are empty.
Hi
I would probably set an array for “References”, when you run the loop you should be able to pull that reference from another array and spawn.
Example, you have 4 items
You have a bool on the branch depending on what you want to spawn.
When the loop get the tick of approval, it spawns. Hopefully
Not sure if this is what you are looking at or I may have it wrong.