Sakairi Melodious Posted September 30, 2011 Share Posted September 30, 2011 ok.. im trying to make a prim thayt plays a group of sounds in order (a song that i have in 9 sec segments) but i cant find the script to do it... yes ive seen psyches music script, and i tryed to make it but it didnt work.. i just got a syntax errorcan i get some ideas? Link to comment Share on other sites More sharing options...
Rolig Loon Posted September 30, 2011 Share Posted September 30, 2011 Define an integer counter, start it at zero, and then loop through your sound files in a timer event, with the time set to just a little longer than your longest segment..... llPlaySound(llGetInventoryName(INVENTORY_SOUND, counter), 1.0); When you play the last one, shut off the timer. Link to comment Share on other sites More sharing options...
Sakairi Melodious Posted September 30, 2011 Author Share Posted September 30, 2011 do what with a what? srry i know nothing about scripts Link to comment Share on other sites More sharing options...
Rolig Loon Posted September 30, 2011 Share Posted September 30, 2011 The Scripting forum is meant as a place for scripters to learn from each other. It's not really a place to look for scripts. If you are looking for someone to write a script for you, the best place to ask is in the Inworld Employment section of the Commerce Forums (http://community.secondlife.com/t5/Inworld-Employment/bd-p/InworldEmployment). If you are looking for a script that already exists, try Marketplace or the LSL Scripting Library (http://community.secondlife.com/t5/LSL-Scripting-Library/bd-p/LSLScriptingLibrary) or the Wanted section of the Commerce forums (http://community.secondlife.com/t5/Wanted/bd-p/Wanted). You will have much better luck. Link to comment Share on other sites More sharing options...
Recommended Posts
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