Template:O VBaseTrigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{IO|OnStartTouch|Fired when a valid entity starts touching this trigger. {{ent|!activator}} is whatever touches the trigger.}} {{IO|OnEndTouch|Fired when a valid entity stops...")
 
m (→‎top: Substituted IO templates)
 
Line 1: Line 1:
{{IO|OnStartTouch|Fired when a valid entity starts touching this trigger. {{ent|!activator}} is whatever touches the trigger.}}
{{O|OnStartTouch|Fired when a valid entity starts touching this trigger. {{ent|!activator}} is whatever touches the trigger.}}
{{IO|OnEndTouch|Fired when a valid entity stops touching this trigger.
{{O|OnEndTouch|Fired when a valid entity stops touching this trigger.
:{{Warning|This includes entities which are deleted while inside the trigger. In this case <tt>!activator</tt> will be invalid.}}}}
:{{Warning|This includes entities which are deleted while inside the trigger. In this case <tt>!activator</tt> will be invalid.}}}}
<noinclude>
<noinclude>
[[Category:Output Templates|VBaseTrigger]]
[[Category:Output Templates|VBaseTrigger]]
</noinclude>
</noinclude>

Latest revision as of 13:13, 21 April 2025

OnStartTouch
Fired when a valid entity starts touching this trigger. !activator is whatever touches the trigger.
OnEndTouch
Fired when a valid entity stops touching this trigger.
Warning.pngWarning:This includes entities which are deleted while inside the trigger. In this case !activator will be invalid.