C_CVar .SetCVarBitfield
Jump to navigation
Jump to search
Sets the bitfield of a console variable.
success = C_CVar.SetCVarBitfield(name, index, value) = SetCVarBitfield
Arguments
- name
- string - Name of the CVar to set the bitfield of.
- index
- number - Bitfield index.
- value
- boolean - The new value of the bitfield.
Returns
- success
- boolean - Whether the CVar was successfully set.
Patch changes
Patch 10.0.0 (2022-10-25): Removed scriptCVar
argument.
Patch 8.1.5 (2019-03-12): Nanespaced to C_CVar.SetCVarBitfield()
.