Blueprint Casting/Interfaces

Greetings all.

I’m having trouble casting an actor to the Level Blueprint. Whenever a certain actor dies I want it to trigger an action within the Level Blueprint. I’ve tried casting and Blueprint Interfaces but can’t seem to get any of them to work. I don’t know which method is best.

Thanks.

This might help:

Thank you for the video Kitatus, but I fear that in my project there are too many actors, I would have to reference each one individually in the level blueprint.

Do you know of any good tutorials on sending messages via blueprint interface to the level blueprint? I saw the youtube vids posted by unreal about blueprint interfaces but didn’t find them helpful.

Basically; An interface is “This is the type of actor” - Think of them as fake “Base” classes. So what you could do is give all the actors the same interface and then get all actors with the same interface and do a ForEachLoop / ForLoop and bind / call that way.

Let me know if that helps!

Thanks a million Kitatus! That seemed to achieve what I was going for.