ID:155467
 
What kind of procs am I looking at to make someone invisible only to the other team? I don't want to edit their icon_state to "" because then nobody can see them.
Basically I think this is what you're looking for:

mob/var
image/appearance
mob/New()
appearance = image('face.dmi',usr)
mob/verb/show(mob/m as mob in view())
m.client.images.Add(appearance)
mob/verb/hide(mob/m as mob in view())
m.client.images.Remove(appearance)


Relevant entries: look up 'image' (the object), 'image()', and 'client.images' in the DM reference.
In response to Toadfish
Alright, thanks for the tip.
In response to Toadfish
Or.....You can make one whole team invisible and be able to see invisible things so theyll see each other and the other team unable to see invisible things so they wont see the others ? Which is way easier O_O
In response to Lugia319
Theres a invisibility var.
In response to Tobirachi
Tobirachi wrote:
Theres a invisibility var.

Wouldn't work well because he would have to choose between the player not being able to see himself/herself or the player being able to see anyone else who is invisible. In the end its best to use images.
In response to ExPixel
ExPixel wrote:
Tobirachi wrote:
Theres a invisibility var.

Wouldn't work well because he would have to choose between the player not being able to see himself/herself or the player being able to see anyone else who is invisible. In the end its best to use images.
Would the SEE_SELF sight bit affect that?
In response to ShadowOfNight
ShadowOfNight wrote:
ExPixel wrote:
Tobirachi wrote:
Theres a invisibility var.

Wouldn't work well because he would have to choose between the player not being able to see himself/herself or the player being able to see anyone else who is invisible. In the end its best to use images.
Would the SEE_SELF sight bit affect that?
It would work yeah, I just lean towards images more though.
In response to ExPixel
Likewise, I have a system in place that could be modified for OP's need, but It's far from even demo quality.