Download

Button events in non-player characters?

Hello,

maybe I’m just stupid, but I can’t find a solution to my problem. So I’m asking here.
I’ve got a character controlled by the player (the character from the First Person template, you know). Than I’ve got a second character, created by me, doing nothing. Now the problem: I made up a Blueprint script in the second character, so when a button is pressed, for example E, the Actor is going to destroy itself. But it don’t work. I’ve also tried it with other things than destroying itself, but nothing worked. Is there something I am missing? Or is there just no way to add button events to a character not controlled by the player?

I’m grateful for every answer!
Greetings