Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Play sound locally via script?

Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-17-2007 15:05
So I'm working on a sea shell. I wannt an avatar to be able to put it to their ear and hear the ocean - but I don't necessarily want everyone around the avataer to hear the ocean.

Is there a way to script the "play locally" functiion?

Mari
_____________________


"There's nothing objectionable nor illegal in having a child-like avatar in itself and we must assume innocence until proof of the contrary." - Lewis PR Linden
"If you find children offensive, you're gonna have trouble in this world :)" - Prospero Linden
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
05-17-2007 15:30
No, you can't force the sound to only play on the client-side, but you can limit the audible range using llTriggerSoundLimited().
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
05-17-2007 15:33
From: Talarus Luan
No, you can't force the sound to only play on the client-side, but you can limit the audible range using llTriggerSoundLimited().


Hmn.. that might work better, actually. Thanks!

Mari
_____________________


"There's nothing objectionable nor illegal in having a child-like avatar in itself and we must assume innocence until proof of the contrary." - Lewis PR Linden
"If you find children offensive, you're gonna have trouble in this world :)" - Prospero Linden