turf
MouseEntered()
if(usr.building == 1)
usr << Q
MouseExited()
var/client/C
if(usr.building == 1)
if(usr.client)
C = usr.client
else
return
C.images -= Q
var/image/Q
New()
..()
Q=new('box.dmi',src,10)
It does the job i ask it.. when i enter a turf it creates the image.. and when i leave it deletes it.. but when i click, it makes the box image there and it stays.. and when i call the MouseDrop() it creates the image where i first click.. when i want it to not create the image when i click but for the box to still follow my mouse pointer even when calling the MouseDrop()
can anyone help with the problem?
ETG
MouseEntered()
if(usr.building == 1)
usr << Q
MouseExited()
var/client/C
if(usr.building == 1)
if(usr.client)
C = usr.client
else
return
C.images -= Q
var/image/Q
New()
..()
Q=new('box.dmi',src,10)
Anyone have any ideas on how to make it so when i click or drag it still deletes the image? and also... Id like to know how to change the layer of the image....
thanks
ETG