Template:O BaseTrigger

From Valve Developer Community
Revision as of 10:28, 22 September 2018 by Pinsplash (talk | contribs) (Created page with "{{minititle|BaseTrigger}} {{IO|OnStartTouch|Fired when a valid entity starts touching this trigger. {{ent|!activator}} is whatever touches the trigger.}} {{IO|OnStartTouchAll|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.