Wikia

WoWWiki

API GetCVarDefault

Talk0
101,311pages on
this wiki
Revision as of 17:04, June 21, 2010 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetCVarDefault

Returns the default value of a console variable.

value = GetCVarDefault("cvarName")

Arguments Edit

cvarName
String (CVar) - Name of the console variable to query.

Returns Edit

value
String - Default value of the console variable.

Notes Edit

  • Calling this function with an invalid variable name will cause an error.

Around Wikia's network

Random Wiki