How to select and modify an NPC I can’t see, via the console

the-elder-scrolls-v-skyrim

My dragonborn is in a bind. I'm doing the Thieves Guild quest line and am using Frostfall and iNeed. This means I need to travel to Winterhold to prepare for a long, cold walk. The problem is, be it fast travel or carriage, there are always Bandits with ranged weapons that spawn up the hill behind the Jarl's longhouse. Since I'm also using a combat mod that makes combat lethal and introduces a wound system, and the shopkeeper (Birna) doesn't stay in her shop; she keeps taking an arrow up the backside and going down immediately.

This is a problem. Her drunk brother died first due to their scripted event being in front of her shop the first time I was in Winterhold. I didn't mind that because his quest is depressing and unrewarding, and what happened is his fault. Birna, however, gives the Coral Claw as part of her quest and just resurrecting her doesn't change the flag in the game that says she is dead. That affects other mods which handle the Halls of the Dead and graveyards, as well as the game itself in some ways. How can I set her as essential without zoning in close enough to see her and click on her with the console open? Alternatively (and preferred), how can I toughen her up to at least tank a few arrows or lightning bolts?

Best Answer

Use the BaseID to alter the character even if she's nowhere in sight. Birna's BaseID is 0001C187 according to UESP, so you could open the console and type: setessential 0001C187 1.

You could also use the console to move Birna to you, using the RefID: prid 0001C18C then moveto player.