Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (responseid==loadingresponseId)
- {
- string sUnescapedBody = llStringTrim(llUnescapeURL(body), STRING_TRIM);
- body=""; //clear mem
- if (sUnescapedBody != "")
- {
- list temp = llParseString2List("\"," + sUnescapedBody + ",\"", ["\",\""],[""]);
- sUnescapedBody="";//clear mem
- llOwnerSay("debug full: "+ llDumpList2String(temp, " "));
- WaveFilesToPlay = llCSV2List(llList2String(temp, 0));
- TotalWaveFiles = llGetListLength(WaveFilesToPlay);
- llOwnerSay(llGetScriptName() + ": " + (string)TotalWaveFiles +" total new soundfiles loaded.");
- string Featuretmp=llList2String(temp,1);
- // llOwnerSay((string)llCSV2List(llList2String(temp, 1)));
- // Feature=llParseString2List(Featuretmp, [","], [","]);
- // Feature=llCSV2List(llList2String(temp, 1));
- Feature=((list)Featuretmp);
- // string Featuretmp2=llDumpList2String(Feature, ", ");
- // Feature=llCSV2List(Featuretmp2);
- // string Featuretmp3=llDumpList2String(Feature, ", ");
- // Feature=llParseString2List(Featuretmp3, [","], [","]);
- llOwnerSay("final output: " + (string)Feature);
- Featuretmp="";//clear mem
- // Featuretmp2="";//clear mem
- // Featuretmp3="";//clear mem
- temp=[]; //clear mem
- Playing=1;
- llStopSound();
- llSetTimerEvent(0.1);
- llOwnerSay("debug Waves: "+ llDumpList2String(WaveFilesToPlay, " "));
- //llOwnerSay("debug Feature "+ llDumpList2String(Feature, ", "));
- if (Feature!=["NULL"] || (llGetListLength(Feature)))
- {
- particles=1;
- if (particles) {
- llOwnerSay("Visual effects activated");
- llParticleSystem(Feature);
- // llParticleSystem([(string)Feature]);
- }
- } else particles=0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement