
ok I may be asking a stupid question here and I do not know a great deal about scripts, but I have been using this free sound script for ages now and it has worked great up until now. the old prims that have this script in it work fine but when I tried to move it today to a new prim it wont play the night ambient part of the script. I copied exactly from one of my prims to a new one to test the whole of this script and the sounds to match as follows :-
list daySounds = ["American Oriole", "Cardinal", "Red-tailed Hawk", "Robin", "Song Sparrow", "Tree Swallow", "Locust"];
list nightSounds = ["Great Horned Owl"];
list nightAmbient = ["Cricket"];
default {
state_entry() {
llStopSound();
llSetTimerEvent(2.0);
}
timer() {
vector time = llGetSunDirection();
list myList;
float density = 0.9;
if (time.z > 0.0) {
myList = llListRandomize(daySounds, 1);
} else {
myList = llListRandomize(nightSounds, 1);
density = 0.98;
// Ambient nighttime sound
if (llFrand(1.0) > 0.85) {
llStopSound();
} else {
llLoopSound(llList2String(nightAmbient, 0), 1.0);
}
}
if (llFrand(1.0) > density) {
llTriggerSound(llList2String(myList, 0), 1.0);
}
}
}
**** and the only part that will no longer play is the Cricket sound. I have changed nothing. or altered anything in anyway. As a test and moved all sounds including script from the working box to the new box and still the only sound that will not work is the Cricket altho on it's own it works fine. why this isn't working as it should. Can anyone shed some light on why this is happening? and or give me advice as to how to get the ambient section working again?.
thanks

many times and still those crickets won't come out to play