Returns the default value of a console variable.
defaultValue = C_CVar.GetCVarDefault(name)
Arguments
- name
- string - name of the console variable to query.
Returns
- defaultValue
- string? - default value of the console variable.
Patch changes
Patch 8.1.5 (2019-03-12): Moved to C_CVar. The previous alias GetCVarDefault is still available as a script wrapper. [1]