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
No edit summary
No edit summary
 
Line 1: Line 1:
{{LanguageBar}}
{{ent not in fgd|nolink=1}}
{{ent not in fgd|nolink=1}}
{{CD|CBaseTrigger|file1=triggers.cpp}} [[Category:CBaseTrigger]]
{{CD|CBaseTrigger|file1=triggers.cpp}} [[Category:CBaseTrigger]]

Latest revision as of 03:54, 29 June 2025

English (en)中文 (zh)Translate (Translate)
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 a brush entity available in all Source Source games. It's a generic trigger entity from which all triggers inherit.

Note.pngNote:Mostly useless entity that exists most likely for debugging purposes (similarly to funCBaseFlex). During spawning important method InitTrigger is not called which would normally set up its model and other collision related properties

See also