Download

Using Blueprint Interfaces to Destroy Actors?

Hey all,

I’ve got a seemingly simple question that I just can’t seem to figure out on my own. I’ve attached a couple photos for reference. The gist of what I’m doing is this: In the blueprint for my character, when I press the interact button, I’d like to destroy the actor whose trigger volume I’m overlapping with. So I created an interface with a function. In my character I sent out a message to that function. In the blueprint for my actor I want to destroy, I created an event for that interface message and on that event called Destroy Actor. Shouldn’t this remove the actor from the world? I can’t get it to work to save my life. Any help would be greatly appreciated!

Thank you!

You call the Interface on “Self” which is the character.
Since the Character doesn’t implement this interface, nothing happens.
You need to get the reference of the actor you want to pickup.