View Single Post
  #11  
Old 01-09-2002, 03:58 AM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
Re: Re: Re: I need some help!

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.
Reply With Quote