Okay so i am trying to design a system in my game where players would be able to find Random pieces of paper known as “blooprints” and spawn objects at an ITemMaker, based on which blooprint was picked up.
I’m trying to make it so that it checks what is in the array, and spawn items according to whats inside the array.
So for example
1:character, traces to an ojbect in the world called A "Pistol-Blueprint"and adds it to his array.
2:He than traces to the item maker, and now it would check if the array contains the Item " Pistol-BLueprint".
3: If his array does contain this item Gun Blueprint it would then spawn the new object "Pistol"
I have started I think 3 forums trying to solve this problem, but i don’t think people understand my goal.
I have a system, where I
-Pick up an Actor by tracing into the world.
-add the traced item to an array, called “MyItemMakerBlueprints”
I have a huge problem though…When i go to use the “Contains Item” blueprint node, It has no options for me to put " Gun BLueprint" on it.
Now i actually have most of my system already built and figured out, except for the problem of how i cannot use the “Contains Items” Properly. I thought this might be the best way to achieve my system.
Is this the best way to handle a situation like this? Where i want a record of what the player has picked up, and use that to determine other objects to spawn?