Template:I BaseTrigger: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{minititle|BaseTrigger}} {{IO|Toggle|Toggles this trigger between enabled and disabled states.}} {{IO|TouchTest|since=EP2|For testing if something is ''currently'' touching t...")
 
(added tf2 input)
Line 4: Line 4:
{{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.}}
{{I EnableDisable}}
{{I EnableDisable}}

Revision as of 10:42, 22 September 2018

BaseTrigger:

Toggle
Toggles this trigger between enabled and disabled states.
TouchTest  (in all games since Half-Life 2: Episode Two)
For testing if something is currently touching the trigger. Fires either the OnTouching or OnNotTouching output.
StartTouch  (in all games since Half-Life 2: Episode Two) !FGD
Fires the OnStartTouch output.
EndTouch  (in all games since Half-Life 2: Episode Two) !FGD
Fires the OnEndTouch output.
DisableAndEndTouch  (in all games since Team Fortress 2)
Disables this trigger and acts as if all currently touching entities have stopped touching it immediately.

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.