Template:I Trigger: Difference between revisions
Jump to navigation
Jump to search
(Removed redirect to Template:I Trigger/en) Tag: Removed redirect |
Mailmanmicky (talk | contribs) 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) |
||
Line 1: | Line 1: | ||
{{ | [[Category:Input Templates|Trigger]] | ||
{{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}} |
Revision as of 19:44, 16 July 2023
{{{base}}}, {{{l4d2}}}, and {{{noscroll}}} are accepted just as they are for Template:I BaseEntity.
Trigger:
- TouchTest (in all games since
)
- Triggers either the OnTouching or OnNotTouching outputs for whether anything is touching this entity.
- StartTouch (in all games since
) !FGD
- Behave as if the !caller entity had just entered the trigger volume. Accepts non-physical entities.
- EndTouch (in all games since
) !FGD
- Behave as if !caller had just exited the trigger volume.
- DisableAndEndTouch (only in
(
))
- 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}}