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

Wiki » Reference » trigger_ entities » trigger_flagonly

ARTICLE

trigger_flagonly

This is an entity on id Tech 3 engines, present on RTCW Single Player, RTCW Multiplayer and Enemy Territory. Below you can find its spawnflags, keys and editor settings for each game that defines it.

RTCW Single Player

Player must be carrying the proper flag for it to trigger. It will call the "death" function in the object's script.

Spawnflags

Flag Bit Description
RED_FLAG 1 -- only trigger if player is carrying red flag
BLUE_FLAG 2 -- only trigger if player is carrying blue flag

Keys

Key Description
scriptName The object name in the script file

Editor

Property Value
Type brush entity
Color .5 .5 .5
Spawn function SP_trigger_flagonly

RTCW Multiplayer

Player must be carrying the proper flag for it to trigger. It will call the "death" function in the object's script.

Spawnflags

Flag Bit Description
RED_FLAG 1 -- only trigger if player is carrying red flag
BLUE_FLAG 2 -- only trigger if player is carrying blue flag

Keys

Key Description
scriptName The object name in the script file
score score given to player for dropping flag in this field (default 20)

Editor

Property Value
Type brush entity
Color .5 .5 .5
Spawn function SP_trigger_flagonly

Enemy Territory

Player must be carrying the proper flag for it to trigger. It will call the "death" function in the object's script.

Spawnflags

Flag Bit Description
RED_FLAG 1 -- only trigger if player is carrying red flag
BLUE_FLAG 2 -- only trigger if player is carrying blue flag
KILL_FLAG 4

Keys

Key Description
scriptName The object name in the script file

Editor

Property Value
Type brush entity
Color .5 .5 .5
Spawn function SP_trigger_flagonly

Last changed Sep 21, 2026