WoW:API GetCVarDefault: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API GetCVarDefault to API GetCVarDefault without leaving a redirect)
 
(No difference)

Latest revision as of 04:45, 15 August 2023

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.