Need a Blueprint interface pointer to an Actor instance that implements said Blueprint interface

Hi,

I have a Blueprint interface - call it IPowerSource - that I implement in about a dozen Blueprints. Now, I need to be able to have a member variable - call it m_powerSource - in a Blueprint that is of type IPowerSource and can refer to any Actor that implements IPowerSource. However, when I choose the type of m_powerSource to be IPowerSource, and when click an instance of this Actor, then in the details-panel m_powerSource doesn’t give me the option to pick an Actor in the World. Instead, it seems to be a pointer to the IPowerSource interface Blueprint itself - not what I want.

I could make m_powerSource to be of type Actor, but that would result in a lot of unnecessary type casting. Is there a way to define the type of a member variable to be a pointer to an IPowerSource interface instance instead of class?

Cheers,

Okay, a few corrections to my earlier post:

Firstly, I can send an interface message to a generic Actor instance, so no type casting is necessary.

Secondly, I’m not sure the member variable of type IPowerSource is a pointer to the Blueprint interface class, but there is something weird going on right there, since in the details panel it asks for a filepath to a Content Browser resource instead of allowing me to select an Actor instance in the World, and as such it seems to be useless.

So I guess my question becomes: What is the use of a member variable of type Blueprint interface, and how can I make it point to an Actor instance that implements said Blueprint interface?