AddChildActor via function C++

Ok, nvm I found an alternate to achieve what I wanted to do. Thanks for the answers though. Cheers.