juanbaltazar's Recent Forum Activity

  • That did it. You're an absolute beast. I don't know how I forgot about OR and ELSE conditions. Thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The order doesn't worry me. The problem I'm trying to fix is the enemies by themselves not triggering the bees' attack mode.

    Player -> overlaps red square

    Bees switch to attack mode

    Good

    Player + enemy -> overlap red square

    Bees switch to attack mode

    Good

    Enemy -> overlaps red square

    Bees stay in Defense Mode

    This is the problem

    I have it set up to where every x amount of seconds, enemies spawn. I don't think that's relevant though.

    I feel like I'm overlooking a really obvious solution.

  • The idea I have is this:

    when an enemy overlaps a large transparent square, the bees attack it (Attack boolean variable). If nothing is overlapping it, the bees just aimlessly fly around within the red square (Defend boolean variable).

    Everything is working exactly how I want when it comes to the player, but I can't get the bees to attack other enemies.

    Families seems to be the best route to take, but when I family up the enemies with the player, the bees ignore the attack boolean variable. I'm also new to using families.

    I've tried duplicating and replacing the player object with the enemies, but that creates a lot complications.

juanbaltazar's avatar

juanbaltazar

Member since 26 Jan, 2015

None one is following juanbaltazar yet!

Trophy Case

  • 9-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies