The console is a powerful in-game tool only available to PC players. From the console it is possible, while playing the game, to enter commands that will alter most aspects of gameplay, and it is also possible to obtain detailed information about NPCs, creatures, and other items in the game.
The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search
General Information[edit]
The console can be accessed in-game by toggling the 'tilde key' (the actual key can be ~, º, ¬, |,^, , §, ², etc., depending on your keyboard layout), found near the 1 and Esc keys on most keyboards. The console prompt will appear in the lower left-hand corner of your screen. The console can also be used as a pause function during scenes or dialogue that cannot otherwise be paused. You can scroll the console output using the Page Up and Page Down keys. Console commands are not case-sensitive—entering any of
tai or TAI or TaI will toggle AI. After you type a command, press the Enter key to activate it. You will see the command you just entered displayed above the input area.
Many commands are targeted: this means that you may use
player.command to affect the player character; for example, type player.setav carryweight 1000 will set the Player's Carry Weight at 1000. Or, you may want to target the NPC/actor, by first typing prid <RefID> , Enter. Then, type the command by itself, setav carryweight 1000 , to affect the NPC, specified by <RefID> (Note: including the zeroes at the beginning of the RefID when targeting NPCs may produce a 'command not found' error. That can be evaded though by placing the RefID in quotes, e.g. '000A2C94'.setav carryweight 1000 will set Lydia's Carry Weight at 1000).
You may also target an NPC or object in the console by clicking on them, and then run
command to affect the NPC or object. When an NPC or object is targeted in this way, their hex code (RefID) will be displayed at the top of the console. For example, to unlock a door, open the console, click on the door so it is the active object in the console (its RefID is shown at the top of the screen), then type unlock . When multiple objects overlap, use the mouse wheel to scroll through different RefIDs until the correct one is selected. When playing on multiple monitors, the cursor will display in the secondary monitor but clicking it will select the object in the same area of the primary monitor.
Commands which are abbreviated (for example:
tai ) can also be run by using their full name; thus, ToggleAI is synonymous with tai , and GetActorValue is synonymous with getav . In most cases, the long command is an obvious progression from the abbreviation. Also, most SetSomething commands have a counterpart GetSomething , even if the counterpart isn't shown here.
Some commands require a form ID. Most articles on objects provide the ID or IDs for those items. In addition, the
Help command can be used to locate IDs. Help 'elven sword' 0 would provide a list of all game objects with elven sword in their names. This can be used for items, spells (Help firebolt 0 ), and perks (Help juggernaut 0 ).
Accessing the Console with Non-English Keyboards[edit]
If you are using a non-US keyboard, the tilde (~) / grave accent (`) key might not work, or there may be no key with such markings. Often, the correct key to use is the key below Esc and above Tab (↹), where the tilde/grave key is on a US keyboard. See the following table for specifics:
Another possible solution is to install AutoHotKey and set up a shortcut to send the tilde key code the game is expecting. Add the following lines to your AutoHotKey script and it will map F12 to grave accent (`) and Shift+F12 to tilde (~). (The grave accent key is the same physical key as tilde on US English keyboards.)
On some systems you may need to use the less optimal mapping:
Commands[edit]
How to Read the Command Table
When a command requires arguments (e.g.,
additem <Item ID> <qty> ), the brackets <> indicate that <ID> should be replaced with the appropriate ID, and <qty> with the appropriate quantity. The brackets are not part of the syntax. So additem <ID> <qty> becomes additem 0002299c 1 .
Furthermore, all REFIDs, faction, weather etc can be entered without the leading zeros, eg:
additem 2299c 1 has the same effect as above.
All Known Commands[edit]Using Batch Files with the
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |