Run For Your Lives
A small mod that makes citizens in a village or city run indoors during a dragon attack.
This was born out of frustration at seeing the citizens all trying to be a hero and rushing headlong to their doom attacking dragons. Instead, when the guards yell for everyone to get inside, the citizens will actually do it. They'll run back to where their start locations are, locking the doors behind them. When the attack is over they resume their schedules as normal.
This should work for any NPCs added by mods as well, up to a limit of 75 in the area. After that, they're on their own. The NPCs chosen are first come, first serve by the game engine. NPCs who live in other areas will flee back to those areas, but will return once the fighting is over.
Guards and followers will not run, they will stand and fight. Farm animals will not run either, because they're stupid. That includes your horse.
Downloads
http://skyrim.nexusmods.com/mods/23906
http://tesalliance.org/forums/index.php?/files/file/1327-run-for-your-lives/
http://www.darkcreations.org/forums/files/file/372-run-for-your-lives/
http://afkmods.iguanadons.net/files/Run-For-Your-Lives-67/
Installation Requirements
Official Skyrim patch 1.6.89 or greater.
Installation - Wrye Bash BAIN
Drop the archive into your Skyrim Mods\Bash Installers folder, then install as usual.
Make sure the mod is active in the Wrye Bash mods tab.
Installation - Nexus Mod Manager
Use the "Download with Manager" button on the Run For Your Lives page at Skyrim Nexus. The installer should take care of things from there.
Then simply make sure NMM has the mod activated.
Installation - Manual
Drop the Run For Your Lives.esp and Run For Your Lives.bsa files into your Data folder.
Activate the mod using whatever management tool suits you.
Uninstall
Remove the two files from the Data folder.
This mod has no continually updating scripts so the contamination of your save game will be minimal.
Known Issues
Mods which generate multiple dragons in a single attack will only send the citizens indoors until the first dragon is dead. Afterward they will likely emerge into the thick of battle, so be careful.
Citizens whose start locations are outdoors will still be vulnerable to attack. This cannot be helped. Fortunately in the vanilla game very few NPCs start off outdoors.
Compatibility
This mod should be compatible with everything except another mod that edits the specific dialogue response my script has been attached to.