Attach Actor to socket via C++

Well, that’s plain enough - Weapon->AttachParent() doesn’t exist - you can’t do that because AMyWeaponActor does not have that method.

Maybe look at how weapons are equipped. How can I switch weapons in ShooterGame? - C++ - Unreal Engine Forums - a quick search of the documentation turned that up…