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

Trigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
Line 1: Line 1:
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{CD|CBaseTrigger|file1=triggers.cpp}}
{{CD|CBaseTrigger|file1=triggers.cpp}}
{{entity|trigger|type=e2}} It's is a generic trigger [[entity]].
{{this is a|e2|name=trigger}} It's is a generic trigger [[entity]].


As an entity prefix, '''trigger''' entities are spatial volumes (in other words, brushed-based [[entity#Brush_entities|entities]]) which trigger [[output]]s depending on what touches them and how.
As an entity prefix, '''trigger''' entities are spatial volumes (in other words, brushed-based [[entity#Brush_entities|entities]]) which trigger [[output]]s depending on what touches them and how.

Revision as of 13:05, 4 January 2024

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.

The two most common triggers are:

Several other trigger entities also exist.

See Also