KillAllHostile Console Command

Documentation and detailed help with working examples.

KillAllHostile Command

DestroyNPC
KillAllHostile

This command will kill all hostile NPCs in the area.

Shortcut

kah
Looking for Starfield commands?

Search our complete list!

Examples

kah

This command will destroy all hostile NPCs in the area.

Help

  • Open the console: Press the tilde key ~ to open the console. This key is generally near the 1 and Esc keys.
  • Case insensitive: Commands are not case sensitive. This means you can enter them using lowercase or uppercase letters.
  • Target commands: Commands that are highlighted as a 'target' command can be used to target your own character or an NPC/object. To target your own character, type player. followed by the command. To target an NPC/object, click on the it and then type the command.
  • Leading zeros: All IDs, reference IDs, base IDs, etc. can be entered without the leading zeros. For example 00003348 can be entered as 3348.
  • Additional help: For more help on using console commands in Starfield go here.
Was this helpful?