Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Remote control Sounds

Tyrehl Byk
Registered User
Join date: 4 Dec 2008
Posts: 24
04-29-2009 15:14
You folks were so kind before I'm back again with another question that seems extremely simple.

I have Prims A and B that are several hundred meters apart. I want to touch prim A and have a sound play that is inside Prim B a single time and then go silent again until A is touched again. I do not want the sound to play in A.

Since A and B are too far apart to be linked, I'm wondering what sort of communication controls need to be used to have a touch start in A control a sound in B.

Sounds simple, but I've been searching the forum and haven't yet found anything that seems to address this. Then again I might not recognize it if I did! :)

Thanks a bunch.


T.
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
04-29-2009 15:51
So long as they are both in the same sim, Script ObjectA to llRegionShout its "PLAY!" command on some private channel when you touch it, and then script ObjectB to listen on the same channel and do whatever it does.

Edit: Ooops! llRegionSay ...... I just felt like shouting. It's been a long day..
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Rygel Ryba
Registered User
Join date: 12 Feb 2008
Posts: 254
04-29-2009 16:18
Yep. It's "llRegionSay" though - look that command up in the wiki and there will be some examples.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
04-29-2009 16:56
if they will be 100m or less apart you can use llShout
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Tyrehl Byk
Registered User
Join date: 4 Dec 2008
Posts: 24
04-29-2009 18:03
You guys ROCK!

Task completed on the first try!