Multiple Enemies issues please Help.

Not favoritedFavorited Favorited 0 favourites
  • 3 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hello, I'm trying to add Multiple Enemies with the same movements and attack, I put them all in a Families folder and was able get the movements and Attack to work for each enemy without conflicking with one other, but I cant get the Death or hurt to work separately?.

    when I hurt or kill one of the Enemies they all get hurt and all die together. How to I fix it so the Hurt and Death are separated for each one?

    Thank you :)

  • depends on the condition you used. If it was something like bullet on collision with Enemies(family) then it should pick one instance so your condition must be picking them all somehow.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello,

    I was able to figure it out. I was using Global Variables for the HP before witch made all Enemies get hurt at once, but than I switched over to Instance Variables and now it works where it will subtracked HP only from the Enemy that is getting hit within a Families group.

    Its nice because now the only thing I have to do is name the enemies (Enemy1, Enemy2), and so on without having to add the same code over and over again for each enemy.

    Thank you :)

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)