- Command: c_sethealth(percent) Copy
- Effect: This command will set your health to target percentage.
|Command|| GetPlayer().profile:UnlockCharacter("wendy") |
|Effect||This command will unlock Wendy.|
|How to Enter Commands|| In Don't Starve, the command console is already enabled by default. To open the console, press the ~ key. This is usually under the Esc key and to the left of the 1 key. To hide the console menu press Ctrl + L. |
Before entering any console commands, first run the command RunScript("console commands").
Some commands will require you to enter one or more parameters. These are usually inside the parentheses. You may need to enter a prefab code, or specify the quantity you want.