ID:157886
 
How could I make something invisible until a specific verb/proc was called to make it visible to the paticular mob you called the verb/proc, and vise-versa?

obj
trip_laser
icon = 'other.dmi'
icon_state = "laser"
New()
..()
action_entered(mob/o)
o << "You have tripped a laser!"
action(mob/m)
m << "You step over the laser."
var/x = get_step(m,m.dir)
var/y = get_step(x,m.dir)
m.Move(y)
training_laser


mob
verb
see_lasers_in_front_of_me()
In response to Metamorphman
It seems more like the OP wants mob specific visibility (I might be completely wrong though ;)).

I'd advise the use of image.
The invisibility and see_invisible variables will work for the general case. If you want to see one specific laser and not another, however, you will need to work with image objects.
Thanks guys-

It seems the invisibility and see variables are more convienient, but image is more flexible.

Is there anyway I can use the invisibility var to only see things within a certain distance of my client?