Hello!
I have dealed with my previous problem, actually it was very easy to fix:
But now, based on BP on that ^ thread i’m trying to create a crafting system. I’ve got everything setup, there is two ‘name’ variables witch are ‘none’ by default. When i click an item in inventory it changes the name of those variables to the Item Name. When both ‘name’ variables has right names (f.e. Hammer Stick and Hammer Head) and i click ‘Create’ it spawns an different object in inventory (Hammer Tool) and destroys the other two that were used to craft.
But for the spawning…
This inventory system adds an item in it but it does it when I place a CHILD bp into a scene (an actor/object, f.e. a hammer itself), walk next to it and press ‘Use’. BUT I want to spawn the object (based on specified Item Name in another bp, this I know how to handle) by just pressing a button and destroy the other actors that are already in inventory (the one were used to craft this spawned item).
I guess I need to “plug-in” somwhere a function that adds item not only when it has been picked up from the ground, but also when i press something.
How to bite this? I don’t have any clue…
Here’s pics:
This is SendItem in BaseItemPlaceHolder (based on that BP I’m creating a CHILDs - item to collect)