mob/verb
CanSee()
if(!CanSee)
usr.CanSee=1
for(var/mob/M in view(6))
var/image/I = image('Base2.dmi',M)
usr << I
else
usr.CanSee=0
del(I)
del(I)
Problem description:
I'm trying to make it so that when users activate a certain skill or item, they can see a special effect. I figured I'd start small with images, and expand from there. I want them to be able to toggle the ability on and off, and not just activate it forever. Right now, all this does is stack a semitransparent overlay (Base2) every other time you click it, rather than delete the image. Is there a way to toggle the image on and off?