This article's documentation is for anything that uses the Source engine. Click here for more information.

trigger

From Valve Developer Community
Revision as of 10:33, 14 May 2024 by MyGamepedia (talk | contribs)
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
C++ Class hierarchy
CBaseTrigger
CBaseToggle
CBaseEntity
C++ triggers.cpp

trigger is an e2 available in all Source Source games. It's is a generic trigger entity.

As an entity prefix, trigger entities are spatial volumes (in other words, brushed-based entities) which trigger outputs depending on what touches them and how.

Icon-Bug.pngBug:Can be triggered only via I/O. Can't be triggered by touching it even with TouchTest input.  [todo tested in ?]
Icon-Bug.pngBug:Console command showtriggers_toggle doesn't show this entity.  [todo tested in ?]

The two most common triggers are:

Several other trigger entities also exist.

See also