Author Topic: OnPlayerStopTouching  (Read 780 times)

So for example, this is supposed to work with onplayertouch, except when the player stops, it can trigger an event. It would be cool for this to be compatible with Slayer, but the event could be named OnPlayerStopTouching(1, 2, 3,) so on, so on. Any ideas if this has been made or something similar?

It's possible with default events by using the "cancelEvents" event. You use onPlayerTouch and set it to call that output event, then you set up further onPlayerTouch events after it with 200 millisecond delays with your desired output events. As long as the player remains in contact, the scheduled outputs will be continually cancelled and reset before they can happen. When they stop touching the brick, the outputs won't be cancelled, and will all fire.

Well, I mean its a bit of a hard thing to do if you make real long events like I like to do, so that's why I am asking for a mod to make things a bit easier.

zone events are a bit of a cleaner implementation
isn't directly onstoptouch though