Recreating Blueprint Function In C++ | Spawning Actors

Thats exactly what I was looking for, thank you.