Cvars
Jump to navigation
Jump to search
Cvars are variables that can be read or set via the in-game console. Cvar stands for Console Variable. Each cvar has a name, description, type and some flags associated with it
Quake-C
It is possible to interact with these variables from Quake-C, however in vanilla QC there is some limitations. For example, being only able to read numeric values.
Use the following builtins to read and set cvars:
You can also set cvars using Localcmd, which will allow you to concatenate strings together.