Template:O BaseTrigger

From Valve Developer Community
Revision as of 19:30, 23 January 2020 by Deprecated (talk | contribs) (Added to Output Templates category)
Jump to navigation Jump to search

BaseTrigger:

OnStartTouch
Fired when a valid entity starts touching this trigger. !activator is whatever touches the trigger.
OnStartTouchAll
Fired when a valid entity starts touching this trigger, and no other entities are touching it. If there are any other entities touching the trigger when a new one begins to touch, only OnStartTouch will fire.
OnEndTouch
Fired when a valid entity stops touching this trigger.
OnEndTouchAll
Fired when all valid entities stop touching this trigger.
OnTouching  (in all games since Half-Life 2: Episode Two)
Fired if something is currently touching this trigger when TouchTest is fired.
OnNotTouching  (in all games since Half-Life 2: Episode Two)
Fired if nothing is currently touching this trigger when TouchTest is fired.