behavior help
so i just wrote a custom behavior for a enemy but he is shooting shotguns can someone explain me what the different things in the new shoot line stand for, how they work and why this behavior makes him shoot shotguns? because i want him to shoot in 1 place and not where the player is
new Shoot(25, projectileIndex: 4, count: 1, shootAngle: 240, coolDown: 500, coolDownOffset: 500),
new Shoot(25, projectileIndex: 4, count: 1, shootAngle: 300, coolDown: 500, coolDownOffset: 500),
new Shoot(25, projectileIndex: 4, count: 1, shootAngle: 330, coolDown: 500, coolDownOffset: 500),
new Shoot(25, projectileIndex: 4, count: 1, shootAngle: 30, coolDown: 500, coolDownOffset: 500),
new Shoot(25, projectileIndex: 4, count: 1, shootAngle: 60, coolDown: 500, coolDownOffset: 500),
new Shoot(25, projectileIndex: 1, count: 1, shootAngle: 90, coolDown: 1000, coolDownOffset: 500),
new Shoot(25, projectileIndex: 1, count: 1, shootAngle: 180, coolDown: 1000, coolDownOffset: 500),
new Shoot(25, projectileIndex: 1, count: 1, shootAngle: 270, coolDown: 1000, coolDownOffset: 500),
new Shoot(25, projectileIndex: 1, count: 1, shootAngle: 360, coolDown: 1000, coolDownOffset: 500),