Trigger remove: Difference between revisions
Jump to navigation
Jump to search
Warning:Removing some entities can cause instability.
mNo edit summary |
mNo edit summary |
||
Line 19: | Line 19: | ||
==Outputs== | ==Outputs== | ||
{{IO|OnRemove|Fired whenever an entity is removed.}} | |||
{{O Targetname}} | |||
{{O Trigger}} | |||
==Scripting== | ==Scripting== |
Revision as of 16:33, 28 July 2011
Template:Base brush 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
|
Flags
|
Inputs
|
Outputs
- OnRemove
- Fired whenever an entity is removed.
|
Scripting
To make a trigger_remove ingame do the following:
- Create the trigger
- Create an entity you wish to be the trigger
- Parent the trigger to that entity