Trigger remove: Difference between revisions
Jump to navigation
Jump to search
Warning:Removing some entities can cause instability.
(-added class hierarchy, cleanup) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{CD|CTriggerRemove|file1=triggers.cpp}} | {{CD|CTriggerRemove|file1=triggers.cpp}} | ||
{{ | {{entity|trigger_remove|type=e2}} It is a [[trigger]] volume that removes any [[entity|entities]] that touch it. | ||
{{optim_brush}} | {{optim_brush}} |
Revision as of 08:01, 24 January 2023
![]() |
---|
CTriggerRemove |
![]() |
Template:Entity 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.