Tuesday, December 02, 2008
USERLOGIN PASSWORD Remember?
You are here » Learning Center ยป Forums

Openlife Forums

 Openlife Grid Forums
Minimize
 
  Openlife Forums  Scripting  LSL Help  llListen not working?
Previous Previous
 
Next Next
New Post 3/4/2008 12:32 AM
User is offline Pablo Pharmanaut
56 posts
Openlife Apprentice




llListen not working? 

Is anyone able to get llListen to work?  None of my scripts using this are working right now.

 
New Post 3/4/2008 9:25 PM
User is offline cyberpunk
7 posts
Openlife Newbie


Re: llListen not working? 
Modified By cyberpunk  on 3/4/2008 9:26:21 PM)

I just tested llListen and it worked ok.

Opensim Revision3697 Windlight Client

I had found a strange bug in state_entry() before. If you do not have a semicolon in state_entry() even in a comment then the script would not compile. You get an error cs 1520. I just tested this again and sure enough when I added a commented semicolon to state entry it compiled just fine.

Anyway here is the code with the llListen in state_entry that worked just fine.

default
{
    state_entry()
    {
        llListen(0,"","","");
       
       
    }
    listen(integer chan,string name,key id,string msg)
    {
        llSay(0,"I heard you say " + msg);    
       
    }
}

 
New Post 3/6/2008 3:12 AM
User is offline Pablo Pharmanaut
56 posts
Openlife Apprentice




Re: llListen not working? 

I assume you're referring to standalone rev 3697.  The grid is still behind that revision. According to Sakai's last post, the grid is still at rev 3538.  I tried your script and it still doesn't work.

 
Previous Previous
 
Next Next
  Openlife Forums  Scripting  LSL Help  llListen not working?
Privacy Statement | Terms Of UseAll Rights Reserved 2007,2008 3DX - Openlifegrid.com