Console commands (Fallout: New Vegas)/NPC changes

An overview of console commands relating to NPCs $$

Overview
The console is a debugging tool in the PC version of Fallout: New Vegas. It is used for altering content while in-game. In order to access the console, you will need to use the key appropriate for your language. See full list here.

Actor manipulation
"Actor" refers to a class in which non-player characters, Creatures, and "Talking Activators" belong. These work on creatures and non-player characters.

Alternatively, you can use 'placeatme' instead to spawn things at the selected object location instead of the player location. (useful if spawning several monsters and you don't want to be at hit distance from them)
 * – Select an NPC and type ; this example would give the selected NPC Light Step.
 * - Revives non-player character and renews their inventory. This command will not undo the failure of quests.
 * – Revives non-player character without renewing their inventory. This command will not enable the completion of failed quests.
 * - May cause a game crash.
 * – Kills non-player character. Killing quest-related NPCs may lead to failed quests.
 * – Kills all non-invincible NPCs in the nearby area. Use with caution, as some quest-essential NPCs you can't see directly may also be killed. Also affects companions (rendering them "unconscious" in Casual mode but actually killing them in Hardcore).
 * - Toggles AI player detection (Causes player to always be hidden).
 * – resets all the dialog trees of all actors. The last resort for bugged dialogue; can help in bugged quests or break them if used incorrectly. (i.e. choosing an answer, then resetting and choosing a different one may or may not break the quest based on such answers) Use with caution.
 * – Spawns Creature/Non-player character, static objects, and containers. They will spawn on top of you, so make sure you are in an open area if you spawn a lot.
 * – Makes selected non-player character a member of a specific faction. Replace X with "1" to make the non-player character an ally of the faction or "0" to simply make him/her friendly with it. Be sure to click on each character you want to add to the faction before entering the command. So, for example, to add a non-player character to your own character's faction as a friend, you would first click on them and then enter . Remember you will then need to use the function right afterward if the non-player character was already attacking.
 * – Removes non-player character from a specific faction. For example:
 * will remove NPC from your own Player Character's faction. These previous two commands are useful when you need to turn a hostile non-player character friendly in order to talk to them/begin a quest related to them that you otherwise couldn't start. Add them to your faction, talk to them and complete their quest. Then remove them from your faction and they will return to being hostile.
 * – Toggle all non-player character combat AI (non-player character doesn't fight)
 * – Toggle all or selected non-player character AI (disables AI processing)
 * – Will open their inventory, as though they were a companion, for the transfer of inventory items.
 * – Will cause an actor to stand in place, not engaging in combat or carrying out AI packages.
 * – Plays an idle, where X is the idle's EditorID string (not the FormID). The number of EditorIDs are too numerous to list here.
 * – Causes another actor (variable X, an Actor reference formID) to go into a ragdoll state and gets propelled away at a force of Y, away from the calling reference (selectable by clicking on a ref in console mode or by using the 'prid' command)
 * - like player.setscale but works on NPCs instead.
 * - like player.agerace but works on NPCs instead.
 * - changes the currently selected npc's race to the specified form ID belonging to another NPC.
 * - prints a reference's EditorID, useful for commands that require Form ID without having to refer to a wiki to find it.