Trigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Redirected page to Triggers)
(-added class hierarchy)
Tag: Removed redirect
Line 1: Line 1:
#redirect [[Triggers]]
{{ent not in fgd|nolink=1}}
{{CD|CBaseTrigger|file1=triggers.cpp}}
{{base point|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.
 
The two most common triggers are:
*[[trigger_once]]
*[[trigger_multiple]]
Several other trigger entities [[:Category:CBaseTrigger|also exist]].
 
[[Category:Entities]] [[Category:Glossary]]

Revision as of 04:05, 6 November 2022

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

Template:Base point 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.