Making a bullet hit each enemy once

  1. Give a ID to each Enemy.

  2. Make the Bullet have an array variable.

  3. Use the array tools extension.

  4. “Bullet is in collision with Enemy” + “Bullet array variable doesnt contain a child with the value Enemy.Variable(ID)”

  5. “Damage enemy” + “Add Enemy.Variable(ID) to Bullet array variable”

2 Likes