CVar cvar_default

From Warcraft Wiki
Jump to navigation Jump to search

Sets the value of a CVar to its coded default value as returned from GetCVarDefault()

Examples

  • Returns all CVars back to their default values. Note that a message will appear "You do not have permission to perform that function" but that is normal behavior because of some protected cvars.
/console cvar_default
  • Sets the maxFPS CVar back to its default value (100).
/console cvar_default maxFPS

Details

  • Resetting the WoW User Interface by deleting the game client or WTF folder does not completely reset your CVars.
  • This is different from the "Defaults" button which only resets the CVars set from the interface options. [1]
Defaults button popup dialog

See also

References

  1. ^ InterfaceOptionsFrame.lua, patch 8.3.0, near line 270, archived at Townlong-Yak