trigger_remove is a brush entity available in all
Source games. It is a trigger volume that removes any entities that touch it.
Warning:Removing some entities can cause instability.
This is not the same as killing entities; i.e. NPCs removed in this manner will not fire their OnKilled outputs.
In code, it is represented by theCTriggerRemoveclass, defined in thetriggers.cppfile.
Keyvalues
BaseTrigger
- Filter Name (filtername) <filter>
- A filter entity to test potential activators against.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enableinput).
|
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
Flags
BaseTrigger
- Everything (not including physics debris) : [64]
- Clients (Survivors, Special Infected, Tanks
 ) : [1]
- Only clients in vehicles : [32]
- Only clients *not* in vehicles : [512]
- Disallow Bots (removed since
) : [4096]
- NPCs (Common Infected, Witches
 ) : [2]
- Only player ally NPCs : [16]
- Only NPCs in vehicles (respects player ally flag) : [2048]
- Physics Objects (not including physics debris) : [8]
- Physics debris (include also physics debris) : [1024]
Pushables (Passes entities with classname func_pushable) : [4] 
- Deprecated.
Equivalent to using Everything + filter_activator_class that filters func_pushable.
|
Inputs
EnableDisable:
- Enable / Disable <void>
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnRemove
- Fired whenever an entity is removed.