I have an FSm on my turret that raycats, compares the hit target to tag "enemy" If it's true, it tells its firing FSM to engage, constantly spawning rounds at regular intervals. Then my turret looks at the target while firing. Once there is no target, my turret stops firing but keeps looking where the enemy last was instead of forward.