Template:O TriggerOnce: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Changed to use IO templates, switched {{O Targetname}} to {{O BaseEntity}})
Line 1: Line 1:
{{ScrollBox|title=TriggerOnce|
{{ScrollBox|title=TriggerOnce|
; <code>OnStartTouch</code>
{{IO|OnStartTouch|Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire. {{activator|toucher}}}}
: Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire. {{activator|toucher}}
{{IO|OnTrigger|Fired whenever the trigger is activated. {{activator|activator}}}}
; <code>OnTrigger</code>
{{O BaseEntity|l4d=1}}
: Fired whenever the trigger is activated. {{activator|activator}}
{{O Targetname}}
}}
}}

Revision as of 14:19, 28 August 2019

TriggerOnce:
OnStartTouch
Fired when an entity starts touching this trigger. The touching entity must pass this trigger's filters to cause this output to fire. (!activator is the toucher)
OnTrigger
Fired whenever the trigger is activated. (!activator is the activator)