Hey guys,
I’ german so I could make some mistakes. I’m sorry…
I have a question about my enemies.
I’m creating a little survival game and now I’m going to add some NPCs. I made a controller BP (If the enemy sees the player, he walks to his location; The enemies can attack an kill the player) and now I’ve a little problem: If I spawn one enemy, I can kill it. But if I spawn two or more, it always dies the first I placed. But all enemies can attack me.
So, I want to make that the BP recognizes the Actor I’m attacking and sets the health of only THIS actor.
Have I to make several BPs? And how do I make the BPs cast to the right enemy?
I uploaded some screenshots. I know, it’s certainly not the best way to create NPCs, but I’m beginner. If you’ve got any proposals, tell me please.
Thank you =)