Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Loopsound Help!

Ryan Radio
WARHEAD
Join date: 2 May 2006
Posts: 19
03-04-2007 11:09
Would anyone be willing to help me out with a simple LOOPSOUND script. I have tried to edit a jetpack script with this function it it, but I have not been able to isolate the loopsound feature and get rid of the particles. I am sure there is a simple script out there somewhere. Thanks for your consideration.
Ryan
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
03-04-2007 12:37
From: Ryan Radio
Would anyone be willing to help me out with a simple LOOPSOUND script. I have tried to edit a jetpack script with this function it it, but I have not been able to isolate the loopsound feature and get rid of the particles. I am sure there is a simple script out there somewhere. Thanks for your consideration.
Ryan



llLoopSound(string sound, float volume)
ArchTx Edo
Mystic/Artist/Architect
Join date: 13 Feb 2005
Posts: 1,993
03-06-2007 13:58
CODE
default
{
state_entry()
{
llLoopSound(llGetInventoryName(INVENTORY_SOUND, 0), 1);
}
}


Put the sound you want to play in the prim with this script, it will play it over and over again.
_____________________

VRchitecture Model Homes at http://slurl.com/secondlife/Shona/60/220/30
http://www.slexchange.com/modules.php?name=Marketplace&MerchantID=2240
http://shop.onrez.com/Archtx_Edo
Dimentox Travanti
DCS Coder
Join date: 10 Sep 2006
Posts: 228
03-06-2007 14:25
Vol is 0.0 to 1.0 (1.0 being loudest.)
_____________________
LSL Scripting Database - http://lsl.dimentox.com