What happens when I order a squad of guardsmen to 'Take Aim!' or 'Smite at Will!' or 'First Rank, Fire! Second Rank, Fire!' or basically any of the Astra Militarum orders that specifically state, "The ordered unit must make a shooting attack." but no enemy units are visible?
The main rule book, on page 12, tells us "to target an enemy unit, at least one model must have line of sight (see page 8) to at least one model in the target unit. If no models have line of sight, then a different target must be chosen.