toggle
This is a console command, present on Quake III Arena, RTCW Single Player, RTCW Multiplayer, Enemy Territory, DOOM 3, DOOM 3 BFG, Quake 4, Prey and yquake2. Below you can find its usage and flags for each engine that declares it.
Quake III Arena
Usage
usage: toggle <variable>
| Property |
Value |
| Type |
console command |
RTCW Single Player
Usage
usage: toggle <variable>
| Property |
Value |
| Type |
console command |
RTCW Multiplayer
Usage
usage: toggle <variable>
| Property |
Value |
| Type |
console command |
Enemy Territory
Usage
usage: toggle <variable>
| Property |
Value |
| Type |
console command |
DOOM 3 (console command)
toggles a cvar
Usage
toggle <variable> - toggles between 0 and 1
toggle <variable> <value> - toggles between 0 and <value>
toggle <variable> [string 1] [string 2]...[string n] - cycles through all strings
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_SYSTEM |
DOOM 3 (script event)
Turns the forcefield on and off.
| Property |
Value |
| Type |
script event |
| Returns |
void |
| Section |
func_forcefield |
| Name |
Toggle |
DOOM 3 BFG
toggles a cvar
Usage
toggle <variable> - toggles between 0 and 1
toggle <variable> <value> - toggles between 0 and <value>
toggle <variable> [string 1] [string 2]...[string n] - cycles through all strings
| Property |
Value |
| Type |
console command |
| Flags |
CMD_FL_SYSTEM |
Quake 4
| Property |
Value |
| Type |
script event |
| Returns |
void |
| Name |
Toggle |
Prey
| Property |
Value |
| Type |
script event |
| Returns |
void |
| Name |
Toggle |
yquake2
| Property |
Value |
| Type |
console command |