Changing or checking vars on everyone in view in Developer Help
|
|
jukebox icon = 'obj.dmi' icon_state = "juke" density = 1 name = "Jukebox" verb Play_Song() set src in view(1) view() << sound() view() << sound('r5concert.mid',1) view() << "[usr] plays the Jukebox!"
|
Here is a jukebox I want to know how to make it so when it plays to everyone in view it will stop for someone who has the var sound = 0. How can I make it do this?
|
you need to call sound(null), sound() is sound(src) [I think]