Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.
trigger_remove
![]() |
---|
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.png](/w/images/thumb/c/cb/Warning.png/10px-Warning.png)
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)
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.