Blockland Forums > Suggestions & Requests

Improved onTouch

Pages: << < (2/3) > >>

Devvy:


--- Quote from: Marcem on March 27, 2010, 12:34:49 AM --- have it count when you're in a brick without ray casting or collision.

--- End quote ---

Zones. But good idea. :D

phflack:

you can already do this, with:
onplayertouch>dostuff (delayed)
onplayertouch>self>cancelevents

that will be for onstop touch

onplayertouch>dostuff
onplayertouch>self>seteventsenabled[all but this and after][off]
onplayertouch>self>seteventsenabled[same lines as above][on] (delayed)
onplayertouch>self>cancelevents

that is for onstarttouch

Marcem:

Or not.  Right now, you can't make bricks do things when a player leaves the brick.

Munkey:


--- Quote from: Marcem on March 27, 2010, 12:36:42 PM --- Right now, you can't make bricks do things when a player leaves the brick.

--- End quote ---
I believe Zone Events let you.


--- Quote ---OnPlayerEnterZone>Player>Setplayerscale>0.1
OnPlayerleaveZone>Player>Setplayerscale>1

--- End quote ---
You would just have to use flat bricks.

Marcem:

Stop saying zone events, that's nothing like I'm saying.

Pages: << < (2/3) > >>

Go to full version