How can I attach a Blueprint to a Socket in another Blueprint?
this is similar but not the same to this https://answers.unrealengine.com/questions/29028/attaching-blueprint-object-to-skeletal-meshes-sock.html
however the above uses the LEVEL blueprint and i want to do this entirely within a single blueprint which isnt a level blueprint?
the closest ive come is to adding the "child actor" in the components tab and this seems to work in the viewport, except the attached blueprint disappears on play/simulate.
As long as you have a reference to the Blueprint you want to attach to your socket, you can use the Attach nodes to accomplish this. Here's an image of a simple setup for your Character Blueprint:
On whatever event you choose (L Key Event, in this case), it Gets All Actors of Class (choose whichever Blueprint you're looking for in your level), and uses a For Each Loop to Attach Actor to Component. The Array Element is the Blueprint Actor, the In Parent is the Character's Skeletal Mesh, and the In Socket Name is the exact name of the Socket in your Skeletal Mesh.
Hope that helps!
answered Aug 20 '14 at 09:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here