Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

When using the console to affect NPC characters you always need their RefID. I always get this on one of the two Skyrim wikis because the following help command returns only their BaseID:

help <npc name> 4

Is there a way to get their RefID through the in game help search?

share|improve this question
1  
Try help <npc name> 0. To the best of my knowledge that should return everything containing the npc's name, including the RefID. –  Fambida Feb 15 '12 at 16:16
    
@Fambida is right. It works not only with NPCs, but with places, spells, perks, shouts etc. –  ヴァイシャリ Feb 15 '12 at 16:50
1  
Yay for not reading the question! –  kotekzot Feb 15 '12 at 17:12

2 Answers 2

up vote 8 down vote accepted

You can either get their RefID by clicking on them with the console open to target them, which should display their RefID at the top of the screen (source: UESPWiki), or by looking at an exhaustive list like this one (also UESPWiki).

I haven't heard of any other ways but will update my answer if I find anything.

share|improve this answer
    
This is as good an answer as there's going to be, wish I had more votes. –  kotekzot Feb 15 '12 at 20:04
    
to expand: you must click on the npc which displays their RefID at the top of the consolen but it is displaying it because clicking also performs a Prid command with the thing you just clicked. very handy! –  Adam Feb 16 '12 at 2:17
    
Adam, good point, I've put that in my answer –  Alex Feb 16 '12 at 8:05
    
Do some NPCs just not have one? –  Hashbrown Sep 28 '13 at 3:02

If you can't see or click the NPC you want to get the RefID but you know its name, then on the console type "save funclist 1". It will open a txt file with every refID in your save game, just search for its name.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.