I’m trying to create an enemy with multiple actions but some I’m running into some road blocks. I want the enemy to be able to move and shoot, which I can get it to do. I also want it to explode when I jump on it (touch). It works fine when I add these behavior bricks: platform (moving), look (aim), shoot. When I add the exploding and touch behavior bricks, it stops working. I’m assuming the touch brick is what stops everything from working, because as soon as I jump on the enemy, it shoots, moves and explodes. Is there a way to separate the two “functions” I’m trying to accomplish? I thought maybe splitting up the behavior bricks would solve the problem, but it seems that they all add up if they are touching the same entity (even if they aren’t touching each other)
I could be wrong, but I believe you just have to select the touch trigger block and change the “Target” from connected actions to specific action. Select action size of 1 and pick explode [whatever explode is attache to] from list of specific actions.
You want to leave “Scope” alone, that way the touch trigger doesn’t effect the other 2 behavior bricks but you can still jump on any part of enemy.