Template:O Trigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
No edit summary
Line 1: Line 1:
{{O TriggerOnce}}
{{ScrollBox|title=Trigger|noscroll=true|
* '''OnEndTouch'''
; <code>OnEndTouch</code>
: Fired when an entity stops touching this trigger. Only entities that passed this trigger's filters will cause this output to fire. {{activator|exiting entity}}
: Fired when an entity stops touching this trigger. Only entities that passed this trigger's filters will cause this output to fire. {{activator|exiting entity}}
* '''OnEndTouchAll'''
; <code>OnEndTouchAll</code>
: Fires when the last entity in the entity's area exits this trigger or when this entity is disabled. Only entities that passed this trigger's filters are considered.  {{activator|last exiting entity}}
: Fires when the last entity in the entity's area exits this trigger or when this entity is disabled. Only entities that passed this trigger's filters are considered.  {{activator|last exiting entity}}
* '''{{EP2 add|OnTouching}}'''
; {{EP2 add|<code>OnTouching</code>}}
: Fired when this entity's TouchTest is called.
; {{EP2 add|<code>OnNotTouching</code>}}
* '''{{EP2 add|OnNotTouching}}'''
: Fired when the <code>TouchTest</code> input is called.
: Fired when this entity's TouchTest is called.
{{O TriggerOnce}}
}}

Revision as of 14:32, 19 July 2009

Trigger:
OnEndTouch
Fired when an entity stops touching this trigger. Only entities that passed this trigger's filters will cause this output to fire. (!activator is the exiting entity)
OnEndTouchAll
Fires when the last entity in the entity's area exits this trigger or when this entity is disabled. Only entities that passed this trigger's filters are considered. (!activator is the last exiting entity)
Template:EP2 add
Template:EP2 add
Fired when the TouchTest input is called.

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 repeatedly with a delay while an entity is within this trigger's volume. Delay is defined by Delay Before Reset key.