Template:O Trigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (!activator)
m ({{activator}})
Line 1: Line 1:
{{o triggeronce}}
{{o triggeronce}}
* '''OnEndTouch'''
* '''OnEndTouch'''
: Fired when an entity stops touching this trigger. Only entities that passed this trigger's filters will cause this output to fire. Use !activator to target the 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'''
* '''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.  Use !activator to target the 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}}

Revision as of 19:52, 16 April 2006

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.
  • 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)