|
Alpha Vargas
Crisis Core addict
Join date: 6 Mar 2006
Posts: 96
|
03-29-2006 07:25
Script "Single song" default { state_entry() { llLoopSound(llGetInventoryName(INVENTORY_SOUND, 0), 1); } } I have the sound in my object's contents, it plays just fine. I just can't seem to control the volume. The last number in that line is supposted to control it, from 0 to 1. I tried setting it at 0.5, even 0.0, but it remains as loud as ever. (I'm new to scripting, please don't get to technical ^^; ) Water sound is pretty loud for such a small fountain. o_O
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
03-29-2006 13:30
Try adding llStopSound(); to the line above the loop sound. The new one should overwrite the old, but sometimes it's a bit glitchy...
Looped sounds are a property of the prim and need to be explictly stopped.
|
|
Alpha Vargas
Crisis Core addict
Join date: 6 Mar 2006
Posts: 96
|
03-30-2006 01:27
does that work to decrease the volume? I'm not trying to *stop* the play, I just want it to be quieter.
|
|
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
|
03-30-2006 02:56
From: Alpha Vargas does that work to decrease the volume? I'm not trying to *stop* the play, I just want it to be quieter. llAdjustSoundVolume
|
|
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
|
03-30-2006 03:42
I was meaning stop it and start it looping again at a different volume. It shows how often I use sounds I never even knew about llAdjustSoundVolume!
|
|
Alpha Vargas
Crisis Core addict
Join date: 6 Mar 2006
Posts: 96
|
03-30-2006 05:04
llAdjustSoundVolume hates me too. x_x
I think I had my computer's volume up too much >_> that might be it. XD
|