trigger_remove
class hierarchy |
---|
CTriggerRemove defined in triggers.cpp
|
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.
Contents
Keyvalues
BaseTrigger:
- Filter Name
(filtername)
<filter> - A filter entity to test potential activators against.
- Start Disabled
(StartDisabled)
<boolean> - Stay dormant until activated (with the
Enable
input).
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
Flags
BaseTrigger:
- [
4
] : func_pushable
- [
8
] : Physics Objects
- [
16
] : Only player ally NPCs
- [
32
] : Only clients in vehicles
- [
64
] : Everything (not including physics debris)
- [
512
] : Only clients *not* in vehicles
- [
1024
] : Physics debris
- [
2048
] : Only NPCs in vehicles (respects player ally flag)
- [
4096
] : Disallow Bots
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.