Trigger: Difference between revisions
Jump to navigation
Jump to search
Bug:Can be triggered only via I/O. Can't be triggered by touching it even with
Bug:Console command showtriggers_toggle doesn't show this entity. [todo tested in ?]
(-useless entity not meant to be used so listing bugs is unneeded) |
MyGamepedia (talk | contribs) (These bugs/issues are its features, people should know about it if it is interesting to anyone.) Tag: Undo |
||
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}} | ||
{{this is a|e2|name=trigger}} It's 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. | |||
{{bug|Can be triggered only via I/O. Can't be triggered by touching it even with <code>TouchTest</code> input.}} | |||
{{bug|Console command {{command|showtriggers_toggle}} doesn't show this entity.}} | |||
The two most common triggers are: | |||
*{{ent|trigger_once}} | |||
*{{ent|trigger_multiple}} | |||
Several other trigger entities [[:Category:CBaseTrigger|also exist]]. | |||
== See also == | == See also == | ||
* [[Triggers]] | * [[Triggers]] | ||
Revision as of 22:14, 14 May 2024
![]() |
---|
CBaseTrigger |
![]() |
trigger
is an e2 available in all 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.

TouchTest
input. [todo tested in ?]
The two most common triggers are:
Several other trigger entities also exist.