StarfruitNMangos
Resident-
Posts
10 -
Joined
-
Last visited
Reputation
0 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Good day, I thought I'd ask. Perhaps it's a simple answer. How do I create an object that will count when the owner clicks it? With the floating number above it. Thanks for your time. Star
-
Help with playing a sound more then 10 seconds
StarfruitNMangos replied to StarfruitNMangos's topic in LSL Scripting
Thanks! -
Help with playing a sound more then 10 seconds
StarfruitNMangos replied to StarfruitNMangos's topic in LSL Scripting
Where do I need to add it. I added it to the bottom using dreamweaver. list sound = ["jaguarapart01", "jaguarapart02", "jaguarapart03", "jaguarapart04", "jaguarapart05", "jaguarapart06", "jaguarapart07", "jaguarapart08", "jaguarapart09", "jaguarapart10", "jaguarapart11", "jaguarapart12", "jaguarapart13", "jaguarapart14", "jaguarapart15", "jaguarapart16", "jaguarapart17", "jaguarapart18", "jaguarapart19"];integer index; // used to track which sound to playinteger length; // used to cound number of soundslist ST = [9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 8.0, 9.0, 9.0, 9.0, 8.0, 9.0, 9.0, 9.0, 8.0]; // Aproximate length of each sound default{ on_rez(integer start_param){ llResetScript(); } state_entry(){ llSetSoundQueueing( TRUE ); length = llGetListLength(sound); llSetTimerEvent( 0.0 ); } touch_end( integer vIntTch ){ if (index != 0){ llSay( 0, "wait for it to finish" ); }else if (index == 0){ llPlaySound( llList2String( sound, index ), 1.0 ); llSetTimerEvent(llList2Float( ST, index )); ++index; } } timer(){ if (index < (length-1)){ llPlaySound( llList2String( sound, index ), 1.0 ); llSetTimerEvent(llList2Float( ST, index )); index = (++index%length); } } } -
Help with playing a sound more then 10 seconds
StarfruitNMangos replied to StarfruitNMangos's topic in LSL Scripting
I get an error. (32, 5) : Error : Syntax error -
Help with playing a sound more then 10 seconds
StarfruitNMangos replied to StarfruitNMangos's topic in LSL Scripting
Nevermined. I found that some of the clips were shorter. So when I adjusted the time for them it fixed it. One last thing, if I may ask. How can I get this to loop? -
Help with playing a sound more then 10 seconds
StarfruitNMangos replied to StarfruitNMangos's topic in LSL Scripting
Okay I fixed it and it's playing but there are pauses between some of the sounds. Do you know why it would do that? -
Help with playing a sound more then 10 seconds
StarfruitNMangos replied to StarfruitNMangos's topic in LSL Scripting
Oh no. Let me fix that. -
Help with playing a sound more then 10 seconds
StarfruitNMangos replied to StarfruitNMangos's topic in LSL Scripting
It's not playing the sounds 5 - 19. I keep getting a script error. It's says the following Could not find sound 'Jaguarapart05'. Could not find sound 'Jaguarapart06'. all the way up to 19. The sounds are in the object. -
So i've been working with this code and it doesn't sem to work. Any suggestions? list sound = ["Jaguarapart01", "jaguarapart02", "jaguarapart03", "jaguarapart04", "Jaguarapart05", "Jaguarapart06", "Jaguarapart07", "Jaguarapart08", "Jaguarapart09", "Jaguarapart10", "Jaguarapart11", "Jaguarapart12", "Jaguarapart13", "Jaguarapart14", "Jaguarapart15", "Jaguarapart16", "Jaguarapart17", "Jaguarapart18", "Jaguarapart19"]; integer index; // used to track which sound to play integer length; // used to cound number of sounds list ST = [9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0]; // Aproximate length of each sound default{ on_rez(integer start_param){ llResetScript(); } state_entry(){ llSetSoundQueueing( TRUE ); length = llGetListLength(sound); llSetTimerEvent( 0.0 ); } touch_end( integer vIntTch ){ if (index != 0){ llSay( 0, "wait for it to finish" ); }else if (index == 0){ llPlaySound( llList2String( sound, index ), 1.0 ); llSetTimerEvent(llList2Float( ST, index )); ++index; } } timer(){ if (index < (length-1)){ llPlaySound( llList2String( sound, index ), 1.0 ); llSetTimerEvent(llList2Float( ST, index )); ++index; }else{ llPlaySound( llList2String( sound, index ), 1.0 ); index = 0; llSetTimerEvent(0.0); } } }
-
Playing sounds longer than 10 seconds...
StarfruitNMangos replied to Domitan Redenblack's topic in LSL Scripting
I've been playing around with this script however it doesn't seem to work past the forth sound. list sound = ["Jaguarapart01", "jaguarapart02", "jaguarapart03", "jaguarapart04", "Jaguarapart05", "Jaguarapart06", "Jaguarapart07", "Jaguarapart08", "Jaguarapart09", "Jaguarapart10", "Jaguarapart11", "Jaguarapart12", "Jaguarapart13", "Jaguarapart14", "Jaguarapart15", "Jaguarapart16", "Jaguarapart17", "Jaguarapart18", "Jaguarapart19"]; integer index; // used to track which sound to play integer length; // used to cound number of sounds list ST = [9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0, 9.0]; // Aproximate length of each sound default{ on_rez(integer start_param){ llResetScript(); } state_entry(){ llSetSoundQueueing( TRUE ); length = llGetListLength(sound); llSetTimerEvent( 0.0 ); } touch_end( integer vIntTch ){ if (index != 0){ llSay( 0, "wait for it to finish" ); }else if (index == 0){ llPlaySound( llList2String( sound, index ), 1.0 ); llSetTimerEvent(llList2Float( ST, index )); ++index; } } timer(){ if (index < (length-1)){ llPlaySound( llList2String( sound, index ), 1.0 ); llSetTimerEvent(llList2Float( ST, index )); ++index; }else{ llPlaySound( llList2String( sound, index ), 1.0 ); index = 0; llSetTimerEvent(0.0); } } }