Template:I Trigger

From Valve Developer Community
Revision as of 19:44, 16 July 2023 by Mailmanmicky (talk | contribs) (Templates should never use multipage because you wont transclude the subpages of the template that you want to include. You will only end up transcluding the {{MultiPage}} string instead)
Jump to navigation Jump to search

{{{base}}}, {{{l4d2}}}, and {{{noscroll}}} are accepted just as they are for Template:I BaseEntity.

Trigger:
TouchTest  (in all games since Source 2007)
Triggers either the OnTouching or OnNotTouching outputs for whether anything is touching this entity.
StartTouch  (in all games since Source 2007) !FGD
Behave as if the !caller entity had just entered the trigger volume. Accepts non-physical entities.
EndTouch  (in all games since Source 2007) !FGD
Behave as if !caller had just exited the trigger volume.
DisableAndEndTouch  (only in Source 2013 Multiplayer(Team Fortress 2))
Disables this trigger and calls EndTouch on all currently-touching entities.
BaseTrigger:
Toggle
Toggles this trigger between enabled and disabled states.
Enable
Enable trigger
Disable
Disable trigger

See Also

  • {{KV TriggerOnce}}
  • {{Fl TriggerOnce}}
  • {{I TriggerOnce}}
  • {{O Trigger}}