Advertisement
BrennyLancrae

Receiver

Oct 12th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // receiver script
  2.  
  3. default
  4. {
  5.     state_entry()
  6.     {
  7.          llListen(981, "", NULL_KEY, "");
  8.     }
  9.  
  10.     listen( integer channel, string name, key id, string message )
  11.     {
  12.         if (llGetOwnerKey(id) != llGetOwner())
  13.         {
  14.             return;
  15.         }    
  16.         if (message == "tex1")
  17.         {        
  18.            
  19.          llSetTexture("c70e5c1a-006c-f89d-dad8-f2b9a381f154",ALL_SIDES);
  20.         }
  21.  //repeating & working section edited out
  22.         }
  23.         if (message == "tex6")
  24.         {        
  25.            
  26.           llSetLinkTexture(2,"377b1563-b7f1-cc79-1147-e92fb619ca82", ALL_SIDES);
  27.         }
  28.         if (message == "tex7")
  29.         {
  30.            
  31.          llSetLinkTexture(2,"5cf1d1a7-1e32-2b03-21c8-5cde5831a736",ALL_SIDES);
  32.         }
  33.         if (message == "tex8")
  34.         {
  35.              
  36.          llSetLinkTexture(2,"137ba8e4-6d66-639a-e5d8-46a4912a6375",ALL_SIDES);
  37.          
  38.         }
  39.     }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement