I’ve got an actor derived blueprint class with an Event on called “Pinged”. Now I want to call that Pinged event on the class when my “Ping” class overlaps it. Works fine if I do an overlap check and check a tag on the actors returned and then Cast that to a specific class type and then get the event to call.
But how do I do it so that ANY actor can be pinged in such a way that I don’t have to cast it to a specific type?
In general what I’m thinking of is a message system where you don’t need to know the type of the receiver. So I want to call an event on any actor that actually implements that event. Is there a way to do that?