Wowpedia
Advertisement
Wowpedia
240,464
pages
Game Flavors
Links
Patch
Added in 3.0.2 / 1.13.2

Returns information on a console variable.

value, defaultValue, account, character, unknown5, setCvarOnly, readOnly = GetCVarInfo(name)

Arguments

name 
string - name of the CVar to query the value of. Only accepts console variables (i.e. not console commands)

Returns

value 
string - current value of the CVar.
defaultValue 
string - default value of the CVar.
account 
boolean - if the CVar scope is set WoW account-wide. Stored on the server per CVar synchronizeConfig
character 
boolean - if the CVar scope is character-specific. Stored on the server per CVar synchronizeConfig
unknown5 
boolean
setCvarOnly 
boolean - if the CVar cannot be set via /console but still via SetCVar(), e.g. the nameplate CVars.
readOnly 
boolean - returns true for portal, serverAlert, timingTestError. These CVars cannot be set via /console or SetCVar()

Patch changes

Advertisement