SetCVar
Lua global function
- Function
- Script::SetCVar ui
- Meaning
- Sets a script-writable CVar and signals CVAR_UPDATE when given a token verified, proof one
- Registered in
- global table s_gameScriptFunctions ui
- Registrar pair
- 0x83def0
- Arguments
- at least 3 lower bound
- Returns
0values exact, kinds()agree- Notes
- delegated-push
Arguments is the largest Lua stack index the function reads: a floor, never a check. Returns lists the number and the kinds of the values it pushes; ? is unknown. what the columns mean.
Cited in 1
- Writing CVars from Lua in ui: CVar, option and engine information verbs