How to use Add ChildActorComponent to dynamicallly spawn blueprint instances?

I am trying to spawn Instances of a blueprint class from an other blueprint. I want to see them during construction so I use the constructor function Add ChildActorComponent. But I must be doing something wrong because I don’t see any objects appearing.

Is BP Container your variable from the other blueprint? Are you actually exposing and pulling the variable from the other blueprint somewhere else?

Search blueprint communication. There is a tutorial on exposing variables and functions from other blueprints and a certain way you need to bring them into a different BP.

BP_Container is a variable with the type of the other blueprint I want to spawn. In the direct blueprint communication tutorial they specify a target instance in the details panel of the blueprint (a reference to an instance of the blueprint already in the scene). I want to spawn an instance of the other blueprint on the fly (in the constructor). What type should BP_Container be?

Can someone please explain what I might do wrong, and the exact steps I should take to dynamically create blueprints from an other blueprint during constuction/in the editor?

still no progress?

For Add ChildActorComponent, you have to select the node in the Construction Script graph and choose a Child Actor Class from the Details panel. Target needs to be left set as Self (empty pin) as you are adding the component to the blueprint you are calling the node in.

Hope that helps!

-Steve

Hello, Steve!
But what would you do if I want to edit actor or actors in the editor after Add ChildActorComponent? This Question I asked also here link text

I followed your advise and created BP Actor “TEST” and via Construction Script called “Add ChildActorComponenet” twice. But it is not useful because It is not possible to separate actors (selecting individual actor to tune it’s parameters) http://snag.gy/YATfT.jpg

This node adds an Actor as a Component of the blueprint you call it in, meaning you won’t be able to select the added Actor in your level editor because it is a component of the parent (placed) Actor.

Steve, My Roof is on fire. You are specialist in it and you think right. Please, show me the way I can manage this problem. Is there a special recipe to spawn editable actors in the editor from BP or any?
Trying to solve this PUZZLE a long time already and squeezed like a lemon)