Template:O BaseTrigger: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (additional onendtouch information) |
||
Line 6: | Line 6: | ||
{{IO|OnEndTouch|Fired when a valid entity stops touching this trigger. | {{IO|OnEndTouch|Fired when a valid entity stops touching this trigger. | ||
{{Warning|offset=1|This includes entities which are deleted while inside the trigger. In this case <tt>!activator</tt> will be invalid.}} | {{Warning|offset=1|This includes entities which are deleted while inside the trigger. In this case <tt>!activator</tt> will be invalid.}} | ||
{{Warning|offset=1|Will also fire if sent Disable input or an entity teleports outside of the trigger area}} | |||
{{Warning|offset=1|<code>OnEndTouch</code> can fire before <code>OnStartTouch</code> under certain circumstances where both are fired on the same tick and each have the '''same''' delay. {{fix|Add a slight delay to <code>OnEndTouch</code>.}}}} | {{Warning|offset=1|<code>OnEndTouch</code> can fire before <code>OnStartTouch</code> under certain circumstances where both are fired on the same tick and each have the '''same''' delay. {{fix|Add a slight delay to <code>OnEndTouch</code>.}}}} | ||
{{bug|offset=1|Spamming crouch jump in a trigger can randomly fire <code>OnEndTouch</code>.{{Confirm|Is it a Multiplayer issue only?}}}} | {{bug|offset=1|Spamming crouch jump in a trigger can randomly fire <code>OnEndTouch</code>.{{Confirm|Is it a Multiplayer issue only?}}}} |
Revision as of 04:51, 26 December 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 .![]()
|