Friday, November 21, 2008
USERLOGIN PASSWORD Remember?
You are here » Learning Center ยป Forums

Openlife Forums

 Openlife Grid Forums
Minimize
 
  Openlife Forums  Ready To Run St...  Help - Troubles...  Sounds Upon Touch in Standalones
Previous Previous
 
Next Next
New Post 6/17/2008 2:34 PM
User is offline Charmaine Andersson
47 posts
Openlife Newbie


Sounds Upon Touch in Standalones 

Hi, all.  I have very happily downloaded a free ocean sound, edited it, converted it, and it plays fine *inworld* upon Touching a containing prim.  I set up the same thing in one of my standalones and, while the script appears to *run* (I see "starting loop sound" and "Stoping sound"), I don't actually *hear* the sound LOL.  Also sounds don't yet Play in World in my standalones, which is probably the problem.   The code follows below.  Is there any way to tweak the code to make it reference a Play Locally mechanism upon Touching a containing prim, or is that impossible?

// *** Loop sound by Touch
// *** by Samantha Fuller ***
// *** ver 1 for OLG alpha .5 - April 26 /08 ***

integer on;
default
{
    state_entry()
    {
        // this now causes a short hicup 4-26-08
        llLoopSound("waves1-cvt1",1);
        llWhisper(0,"starting loop sound");
    }
 touch_start(integer touches)
    {
        if (on == 0)
        {
            on = 1;
            llLoopSound("waves1-cvt1",1);
            llWhisper(0,"playing sound");
        }
        else
        {
            on = 0;
//            llStopSound(); // isen't working as of 4-26-08
// playing any short sound results in stop, reduce volume for crude taper stop
            llPlaySound("waves1-cvt1",.5);
            llWhisper(0,"Stoping sound");
        }
    }
}

Thanks a lot.
Charm :-)


Charm
 
New Post 6/18/2008 8:29 PM
User is offline Samantha Phoenix
7 posts
Openlife Newbie


Re: Sounds Upon Touch in Standalones 

I havent had any luck geting the standalone up lately, but what you are describing sounds like the permisions bug that has been bedevling the grid for the last 2 of weeks, try to grab the uuid from your inventory and if you cant then that is probably the problem :) , Since you are runing the standalone you can do something about it you can turn off permisions if you dont need them (likely). not sure exactly sure how but i think its a setting in your ini file.

 
New Post 6/19/2008 4:12 AM
User is offline Charmaine Andersson
47 posts
Openlife Newbie


Re: Sounds Upon Touch in Standalones 

TY, Sam! :-)  I'll look into that :-)

Charm


Charm
 
Previous Previous
 
Next Next
  Openlife Forums  Ready To Run St...  Help - Troubles...  Sounds Upon Touch in Standalones
 Popular Forum Threads
Minimize
In the past 1 week, we have 65 new thread(s) and 256 new post(s)
The most popular thread has been GLBT Region?
The most active thread has been GLBT Region?
Privacy Statement | Terms Of UseAll Rights Reserved 2007,2008 3DX - Openlifegrid.com