Template:O BaseTrigger: Difference between revisions
Jump to navigation
Jump to search
(OnStartTouch Bug and OnEndTouch bug(s). CS:S and also GMod tested for multiplayer. Do need to confirm if this does happen for singleplayer aswell.) |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{expand|title=BaseTrigger|startcollapsed={{{startcollapsed|1}}}| | ||
{{IO|OnStartTouch|Fired when a valid entity starts touching this trigger. {{ent|!activator}} is whatever touches the trigger.}} | {{IO|OnStartTouch|Fired when a valid entity starts touching this trigger. {{ent|!activator}} is whatever touches the trigger.}} | ||
{{bug|offset=1|Spamming crouch jumps in a trigger can randomly fire <code>OnStartTouch</code>. {{Confirm|Is it a Multiplayer issue only?}}}} | {{bug|offset=1|Spamming crouch jumps in a trigger can randomly fire <code>OnStartTouch</code>. {{Confirm|Is it a Multiplayer issue only?}}}} | ||
Line 12: | Line 12: | ||
{{IO|OnEndTouchAll|Fired when ''all'' valid entities stop touching this trigger.}} | {{IO|OnEndTouchAll|Fired when ''all'' valid entities stop touching this trigger.}} | ||
{{IO|OnTouching|since={{Src07}}|Fired if something is currently touching this trigger when <code>TouchTest</code> is fired.}} | {{IO|OnTouching|since={{Src07}}|Fired if something is currently touching this trigger when <code>TouchTest</code> is fired.}} | ||
{{IO|OnNotTouching|since={{Src07}}|Fired if nothing is currently touching this trigger when <code>TouchTest</code> is fired.}}<noinclude> | {{IO|OnNotTouching|since={{Src07}}|Fired if nothing is currently touching this trigger when <code>TouchTest</code> is fired.}}}}<noinclude> | ||
[[Category:Output Templates|BaseTrigger]] | [[Category:Output Templates|BaseTrigger]] | ||
</noinclude> | </noinclude> |
Revision as of 09:42, 9 September 2024
![]() OnStartTouch . ![]()
![]() ![]() OnEndTouch can fire before OnStartTouch under certain circumstances where both are fired on the same tick and each have the same delay. ![]() OnEndTouch .![]() OnEndTouch .![]()
|