Template:I BaseTrigger: Difference between revisions
Jump to navigation
Jump to search
(.) |
(added a thing for hiding the tf2 input) |
||
Line 1: | Line 1: | ||
{{minititle|BaseTrigger}} | <noinclude>Hide the TF2 input with <code>|notf2=1</code> | ||
</noinclude>{{minititle|BaseTrigger}} | |||
{{IO|Toggle|Toggles this trigger between enabled and disabled states.}} | {{IO|Toggle|Toggles this trigger between enabled and disabled states.}} | ||
{{IO|TouchTest|since=EP2|For testing if something is ''currently'' touching the trigger. Fires either the <code>OnTouching</code> or <code>OnNotTouching</code> output.}} | {{IO|TouchTest|since=EP2|For testing if something is ''currently'' touching the trigger. Fires either the <code>OnTouching</code> or <code>OnNotTouching</code> output.}} | ||
{{IO|StartTouch|since=EP2|nofgd=1|Fires the <code>OnStartTouch</code> output.}} | {{IO|StartTouch|since=EP2|nofgd=1|Fires the <code>OnStartTouch</code> output.}} | ||
{{IO|EndTouch|since=EP2|nofgd=1|Fires the <code>OnEndTouch</code> output.}} | {{IO|EndTouch|since=EP2|nofgd=1|Fires the <code>OnEndTouch</code> output.}}<!-- | ||
{{IO|DisableAndEndTouch|since=TF2|Disables this trigger and acts as if all currently touching entities have stopped touching it immediately. {{tf2}} only.}} | -->{{#if:{{{notf2|}}}||{{IO|DisableAndEndTouch|since=TF2|Disables this trigger and acts as if all currently touching entities have stopped touching it immediately. {{tf2}} only.}}}} | ||
{{I EnableDisable}} | {{I EnableDisable}} |
Revision as of 12:49, 5 October 2018
Hide the TF2 input with |notf2=1
BaseTrigger:
- Toggle
- Toggles this trigger between enabled and disabled states.
- TouchTest (in all games since
)
- For testing if something is currently touching the trigger. Fires either the
OnTouching
orOnNotTouching
output.
- EndTouch (in all games since
) !FGD
- Fires the
OnEndTouch
output. - DisableAndEndTouch (in all games since
)
- Disables this trigger and acts as if all currently touching entities have stopped touching it immediately.
only.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.