Jump to content

Sound volume


Pamela Galli
 Share

You are about to reply to a thread that has been inactive for 2994 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Just write it as llLoopSound("what the sound is called", 0.5); First is a string, second the volume. All strings have to be between quote marks. The function inserted messes up things.

 llLoopSound("big bang", 0.5); 

ADDED, i used a comma in the float by mistake so edited it.

Or could write it this way if you want too.

string this_sound = llGetInventoryName(INVENTORY_SOUND, 0);llLoopSound(this_sound,0.5);
Link to comment
Share on other sites

Thanks to you both.

It works fine as it is, I just did not know if that last number was for volume or not (all scripts are like hieroglyphics to me). I just could not detect any change in volume from 1 to 0.01.

 

I did look at the Wiki but it did not tell me what the numbers meant.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2994 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...