Your question is unclear.
If you mean you'd like your badgers to keep firing even if they can't see anything, you can order them to fire at the ground you'd like them to fire at. You can give this command as a line command so that the badgers will fire at different points along the line and create a mine barrier.