Monday, November 16, 2026
Building, modding and fragging like it's 1998
142778 visitors

Your #1 source for retro FPS developmentY2K READY

*** func_arena goes live, let the carnage begin! *** ET: Legacy 2.86.0 is out! *** Engine of the Week: qrustyquake by cyanbun96 *** Server admins: read our migration guide before Friday *** Ironwail 0.8.2 is out! ***

NAVIGATION

ARTICLE

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

Last changed Sep 21, 2026