Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Stop other objects when one is running.

Csteph Submariner
Registered User
Join date: 24 Apr 2007
Posts: 60
10-09-2009 03:27
Hi,

There may be an easy and blindingly obvious solution to this which I'm just too tired to see.

I have a number of devices which each play sequences of audio files when clicked. What I would like is to be able to prevent other devices from playing once playback has started on a given machine.

I've tied myself up in knots trying to think of a way using llSay to talk to nearby machines, but I have the feeling there must be a more efficient way.

Any tips?

tia
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
10-09-2009 04:29
Chat of some sort ought to be fine, you could use a token sort of system so that every object doesn't have to remember what is what. One central token script keeps track of who has permission to play, the sound makers can ask for and release the token. The token script will probably want timeout in it in case one of the sound makers breaks.