Also for those who are wondering on how to get the file directory and type of file do this :
Right mouse click on the object, then go to ‘Copy Reference’. This will copy, as in this picture the following :
Blueprint’/Game/Assets/Blueprints/BP_Utilities/AI_Locator.AI_Locator’.
If you add a Class type of a blueprint, you change it to BlueprintGeneratedClass. You want to add a _C at the end like so :
BlueprintGeneratedClass ‘/Game/Assets/Blueprints/BP_Utilities/AI_Locator.AI_Locator_C’
At least this is how I do it, don’t know if this is the right way to do this though. But it works