Start shooting when an opponent enters camera view

I just realized I was actually wrong about that solving it. My bullets fly whenever they are placed in the scene with this, even if they aren’t in view. Am I making a mistake?