Why is there a AddChildActorComponent Function?

I’ve looked at this function for quite a while and I see no way to actually specify what class the child actor component will be. I’m aware that I can spawn an actor and attach it to my parent actor, but what is the point of this function? Who would use it if you can’t specify the class?

I probably just missed something simple. Hopefully someone on here can shed some light on this.

You can change which class is added by clicking on the “Add ChildActorComponent” node and looking in the details panel under “Child Actor Component”.

OK, but how to change this value from blueprint?

It would appear that the node itself does not possess an input pin for the class of actor component you wish to attach. For whatever reason that is the current design. If you wish to make a feature request for them to add it, you can do so. Or you could just click on the node, and modify it directly as Nathan suggested. Another alternative would be to make your own node in C++ that simply references the existing node object, but adds another parameter to the function (sort of a wrapper function). That way, the new function will have the additional input pin that you are expecting.
Here is a link to a quick guide on creating custom nodes: