Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(bp)
mNo edit summary
Line 6: Line 6:
 
;cvarName: String ([[CVar]]) - Name of the console variable to query.
 
;cvarName: String ([[CVar]]) - Name of the console variable to query.
   
=== Returns ===
+
== Returns ==
 
;value: String - Default value of the console variable.
 
;value: String - Default value of the console variable.
   

Revision as of 17:04, 21 June 2010

Returns the default value of a console variable.

value = GetCVarDefault("cvarName")

Arguments

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

Returns

value
String - Default value of the console variable.

Notes

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