ID:175985
 
Ok, so Everyone of my Areas have a "box" icon of a different color that arent visable to anyone, I need a verb that for the person who calls the verb say mob/verb/Seearea will see all of the icons for all areas, so, you can see the region of different area, but i dont want these area icons visable to everybody, just the person who called the verb, can anyone help?

ETG
To make anything visible to one person and not visisble to another, you need to use either images or the invisibility var. Invisibility isn't particularly suited to what you are looking for, so I recommend images.

The roof system we are discussing in your post in Code Problems is a good example of how to do that.
In response to Shadowdarke
ok just make the verb add a different colored image to each area......then show the client the image
In response to Magnus VI
so
<code> area var image_icon world New() for (var/area/A in world) if (istype(A, /area/bar)) A.image_icon = image('box.dmi', A, "red") if (istype(A, /area/town)) A.image_icon = image('box.dmi', A, "blue") mob/proc/Seeareaproc() for (var/area/C in world) src << C.image_icon ..() mob/verb/Seearea() usr.Seeareaproc() </code>
does this make sense?

ETG
In response to Erdrickthegreat2
area
var
image_icon
world
New()
for (var/area/A in world)
if (istype(A, /area/bar))
A.image_icon = image('box.dmi', A, "red")
if (istype(A, /area/town))
A.image_icon = image('box.dmi', A, "blue")
mob/proc/Seeareaproc()
for (var/area/C in world)
src << C.image_icon
..()
mob/verb/Seearea()
usr.Seeareaproc()

what should i change to this to make it work? Images aren't my strong suit.

ETG