Trigger remove: Difference between revisions
Jump to navigation
Jump to search
Warning:Removing some entities can cause instability.
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.) |
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.) |
||
Line 1: | Line 1: | ||
{{CD|CTriggerRemove|file1=triggers.cpp}} | {{CD|CTriggerRemove|file1=triggers.cpp}} | ||
{{this is a| | {{this is a|brush entity|name=trigger_remove}} It is a [[trigger]] volume that removes any [[entity|entities]] that touch it. | ||
{{optim_brush}} | {{optim_brush}} |
Revision as of 17:05, 17 May 2024
![]() |
---|
CTriggerRemove |
![]() |
trigger_remove
is a brush entity available in all Source games. It is a trigger volume that removes any entities that touch it.

This is not the same as killing entities; i.e. NPCs removed in this manner will not fire their OnKilled outputs.
Keyvalues
|
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
Flags
|
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnRemove
- Fired whenever an entity is removed.