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()
ID:157886
Dec 16 2009, 3:25 am
|
|
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?
|
Dec 16 2009, 3:33 am
|
|
atom.invisibility
|
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.
|