Cheat
This command spawns a game location instance; however, saving is permanently disabled. To spawn a location instance and still keep saving enabled, append the `SAVE` flag after the location ID — see the second example below. View all Location IDs here: [valheimcheats.com/location](/location).
Remove brackets [ ] when typing the command.
Parameters
- Location ID
- The ID of the location you want to spawn.
Examples
Here are examples of how to use location.
This command will spawn the location Bonemass. Saving will be permanently disabled.
This command will spawn the location Bonemass. Saving will be enabled.
In-Depth Description
The `location` command in Valheim is somewhat akin to teleportation. When you use this console command, you're actually generating or spawning a particular instance of a game location right where your character is currently located.
However, one important thing to note is that using this command will disable the ability to save your game. This means that anything you do while in this spawned version of the location cannot be saved and carried forward to your next session.
But there is a workaround. By adding the term `SAVE` after the location name (for example, `location FireHole SAVE`), it will spawn the mentioned game location and also keep the saving function active. That way, the progress you make in that location can be carried forward to subsequent sessions or games.