atom/movable/Click()
var/mob/player/p = usr
var/image/i = image('Targeted.dmi',src)
if(ismob(src) && src != p && src != p.target)
p.client.images -= i
p.target = src
p<<"You have targeted [src]"
p.client.images += i //also used 'p<<i' but they are the same
Problem description:
For some reason, the "F1 in Dream Maker" reference lies to me :( It says I can use 'object.client.images -= image_object', but when I clearly use it in my Click() proc above, it does not do its job. Only through using 'object.client.images = null' will it remove the image_object. However, I do not wish to do it that way. Any reason why it's not working as intended? I hope it's a minor mistake on my part :\
You're creating a new instance of an image everytime. You would have to remove the old one to not see if it anymore, but since it's a targeted system you can just have one created and move it around.