Quote:
Originally posted by haunter
like this maybe? (non-p2p script)
if (created) {
setimg image.gif;
dontblock;
drawaslight;
timeout=0.05;}
if (timeout) {
if (playertouchsme) {show; setcoloreffect 1,1,0,.99;}
else {hide;}
timeout=0.05;}
I dunno, im not too good at this scripting stuff...
|
No, if it is set as dontblock, then the action playertouchsme won't work (I think).
I mean, have a thing to check to see if the player is within a box.
if (timeout&&playerx>x&&playerx<x+4&&playery>y&&playe ry<y+4)
The above would check in a 4 tile square... might be a bit laggy though.
