Download

Enemy duplicate problem

Hi
i have simple question , when i duplicate my enemy . i killing enemy 1 but enemy 2 died at the same time with enemy 1 . can you guide me ?
9727eecd97996b6a27e01ebd65644375d49bfc98.png
Screenshot (475).png

You’re going to have to give a lot more detail…

How are you killing your enemies?

yes i killing enemy 1 but enemy 2 died at the same time with enemy 1 (together) . i changed enemy 2 animation(duplicated of enemy 1 animition) and i set more delay for die but can’t work on enemy 2 .

b9ed0a36e6d85f68c81d27c99f52644ec779d9e6.jpeg

That does not tell me how you are killing your enemies. Things don’t just die automatically, you wrote some logic that kills enemies when they run out of health and if all enemies are dying when you’re killing one specific enemy, then that’s probably where the problem is.

I understand .
1.I set hit area for my character sword , also i opened two events [oncomponentbeginoverlap][oncomponentendoverlap]


2.Using this blueprint [screenshot] for die enemy .

3.Create [basesword] blueprint to define damage for swords , exam : 100

4.Create [basesword child] blueprint to define sword mesh and set damage for this sword
e038df012afe1bec60a391c21d0c3bfe55457f4a.jpeg

just it

1 Like