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
ID:175985
Feb 22 2003, 1:37 pm
|
|
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 |
The roof system we are discussing in your post in Code Problems is a good example of how to do that.