Template:I Trigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (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)
(-cleanup)
Tag: New redirect
 
Line 1: Line 1:
[[Category:Input Templates|Trigger]]
#redirect [[Template:I BaseTrigger]]
{{param|base}}, {{param|l4d2}}, and {{param|noscroll}} are accepted just as they are for [[Template:I BaseEntity]].
<onlyinclude>{{ScrollBox|title=Trigger|noscroll=true|
{{IO|TouchTest|Triggers either the <tt>OnTouching</tt> or <tt>OnNotTouching</tt> outputs for whether anything is touching this entity.|since={{Src07}}}}
{{IO|StartTouch|Behave as if the {{ent|!caller}} entity had just entered the trigger volume. Accepts non-physical entities.|since={{Src07}}|nofgd=1}}
{{IO|EndTouch|Behave as if <tt>!caller</tt> had just exited the trigger volume.|since={{Src07}}|nofgd=1}}{{#if: {{{l4d2|}}} | |
{{IO|DisableAndEndTouch|Disables this trigger and calls <tt>EndTouch</tt> on all currently-touching entities.|only={{Src13mp}}({{Tf2}})}} }}
{{I TriggerOnce|base={{{base|}}}|l4d2={{{l4d2|}}}}} }}</onlyinclude>
==See Also==
*{{tl|KV TriggerOnce}}
*{{tl|Fl TriggerOnce}}
*{{tl|I TriggerOnce}}
*{{tl|O Trigger}}

Latest revision as of 05:41, 8 August 2023