Player
This command allows you to assign a specific action or command to a particular key.
Remove brackets [ ] when typing the command.
Parameters
- Keycode
- The Unity keycode you want to bind a custom command to.
- Command
- The command you want to bind.
Examples
Here are examples of how to use bind.
Binds the mouse4 button to perform the cheer emote when pressed.
Binds the N key to toggle the nomap setting.
In-Depth Description
The `bind` command in Valheim is used for assigning actions to keys.
This function is a part of many games, allowing players to customize their control scheme to their preferred layout.
This can be incredibly helpful for making the game control more intuitively, by assigning the game's functions to keys they are comfortable with.
This command is followed by two parameters. The first parameter is the key and the second one is the name of the command.
It's recommendable to use this command when you want to arrange your controls more comfortably because these settings can cater to your comfort and convenience while playing the game.