How can I call events when an actor is destroyed?

Basically I am spawning all of my enemies through the level blueprint and I want to be able to award the player points upon the enemies death but I’m not sure how to actually trigger events when the enemy actors are destroyed? I’m sure it is something simple but I can’t seem to figure this one out, any help would be appreciated :slight_smile:

There is ondestroyed event

You can also do thing before destroying and not to mention destroyed actor is just marked to be destroyed and exist atleast to end of tick

2 Likes

I found the OnDestroyed event but what is the best way to get these actors to trigger something in the level blueprints? I have read about the cast to options in blueprint but I can’t seem to find those in blueprint most of the time, are there specific situations that option will appear?

god THANK YOU! ive been looking for this forever