Event_OnPlayerTouchStop
We all know and love the default event, OnPlayerTouch. But what about when someone
stop touching the brick? What then?
This event is called when a player stops touching a brick. No big explanation needed, really.
I pretty much made this because I've heard it requested too many times.
For your convenience, the event is named in such a way that it can easily be found directly below "OnPlayerTouch".
As of v2, OnPlayerNoTouch is included. It is triggered when all players stop touching the brick. In this case, the "Player" target will target whoever stopped touching the brick last.
"But we can already do stuff like this!"
(Some thread from 2009)
You can do the onPlayerLeave using default events:
0 onPlayerTouch > cancelEvents
0 onPlayerTouch > setColor > red
400 onPlayerTouch > setColor > white
Well, no. There's
many cases where that wouldn't work, such as if the brick uses multiple delays.
So, without further ado,
DOWNLOAD
v2, 8/25/12:
- Added new event, OnPlayerNoTouch
- Updated download link