Jump to content

Frustrating COM problem


Ganthrithor
 Share

You are about to reply to a thread that has been inactive for 4444 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I have a source prim with this script:

integer COMCHAN = -6443634;
default
{
    touch_start(integer total_number)
    {
        llWhisper(COMCHAN, "grape");
     }
} 


I have a target prim with this script:

integer COMCHAN = -6443634;
integer on;
default
{
 state_entry()
    {
      llListen( 0, "", NULL_KEY, "grape" );
    } 
    listen(integer channel, string name, key id, string message)
    {  
   if(on)
      {
          on = FALSE;
        llOwnerSay("OFF");
        llSetAlpha(0, ALL_SIDES);
        }
        else
        {
        on = TRUE;
        llOwnerSay("ON");
        llSetAlpha(100, ALL_SIDES);  
        }
      }
    }

Why aren't they talking?

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4444 days.

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
 Share

×
×
  • Create New...