CheatNeeds devcommandsUndocumented
test command
Syntax
| key | Test string key; set an existing key with no value to remove it |
| value | Optional value for the key |
What it does
Undocumented developer command that sets internal test strings as key-value pairs; setting an existing key empty removes it. It drives internal test behavior and has no supported use in normal play.
Cheat commands need the console enabled with the -console launch option, then devcommands typed once. They work in singleplayer or when you host, not on dedicated servers.
Examples
Sets the internal test string mykey to 1.
Related commands