The Vampire town attacks are the easiest thing in the world to manage. All you have to do is not Fast Travel to a town or city so you get there at night, do not enter a town or city at night, and if you are in a building in a town, just don't go outside at night. Which is what you would do if there were Vampires about.
If you need to travel to a town, just save first. If you arrive after dark, then reload, wait a bit of time, then travel again. The DG MQ did not take me to many cities, so vamps were easily avoided.
If you want to have a town attack, then wait in a house until 6 PM, then until 8 PM, then until 10 PM and then go outside. This will get all the commuters to go home so mostly what is out to get attacked are generic guards.