v0.13.8

C_CVar.SetTempCVar

functionguessedavailable in: camelot

Sets a console variable to a value for now, without saving it; C_CVar.RemoveTempCVar restores the previous value. · description by wowlua

signaturewowlua
function C_CVar.SetTempCVar(    name: string,    value: string?)

Parameters

nametypedescription
namestringThe console variable's name.
valuestring?

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

Restrictions

  • Requires non read only c var.
  • Requires non secure c var.
  • Requires valid and public c var.

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CVarScripts system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.