Author Topic: Event_OnPlayerTouchStop - UPDATE: OnNoPlayerTouch  (Read 4626 times)

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!"
Quote from: Ephialtes
(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
« Last Edit: August 25, 2012, 11:08:55 PM by Wheatley »


I hate to ask so soon, but I don't suppose a "OnPlayerTouchStart" is possible? (or exists?)

I hate to ask so soon, but I don't suppose a "OnPlayerTouchStart" is possible? (or exists?)
OnPlayerFirstTouched?

I hate to ask so soon, but I don't suppose a "OnPlayerTouchStart" is possible? (or exists?)
It exists. Jes00 made it a few months ago, I think.
http://forum.blockland.us/index.php?topic=196139.0

It exists. Jes00 made it a few months ago, I think.
http://forum.blockland.us/index.php?topic=196139.0

You mean Space Guy made it but jes00 also gave himself credit even though he really didn't do anything.

It exists. Jes00 made it a few months ago, I think.
http://forum.blockland.us/index.php?topic=196139.0
I am going to release V2 of that soon.
You mean Space Guy made it but jes00 also gave himself credit even though he really didn't do anything.
If you don't think I did anything I did some of the stuff in V2.


Also: I was just making this D:

Nice. I think I saw this somewhere else but couldn't find it. I was hoping someone would make another one soon.

I might be mistaken but I was looking for this.

I hate to ask so soon, but I don't suppose a "OnPlayerTouchStart" is possible? (or exists?)
Oh yea, I remember old event OnPlayerTouchStart and OnPlayerTouchStop was back around v8, now they are long gone. I missed them.


You mean Space Guy made it but jes00 also gave himself credit even though he really didn't do anything.
Don't even start with that.

<3 tankz u!
oh you

Could be made with Zonebricks but this is much simpler, I love this.

Time to create a realistic mine!

yay

Now update the custom playertype :D

Could be made with Zonebricks but this is much simpler, I love this.
doesn't work if zone creator leaves the server.