Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 18th, 2017 409 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. ////////////////////////////////////////////////////////////////////
  2. ////////////////// [ MESH WORKSHOP SCRIPTS ]///////////////////////
  3. //////////////////////////////////////////////////////////////////
  4.      
  5. integer ch=-00010;          //Same unique 5 digit number as controller.
  6.  
  7. integer side = ALL_SIDES;   //Side to apply the texture to.
  8.                             // ALL_SIDES = All sides of the object.
  9.                             // Numbers 1-8 = Face number of the object.
  10.  
  11. //////////////////////////////////////////////////////////////////
  12. //////////////////////////////////////////////////////////////////
  13. //////////////////////////////////////////////////////////////////
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. default
  21. {
  22.     state_entry()
  23.     {
  24.         llListen(ch,"",NULL_KEY,"");
  25.     }
  26.  
  27.     listen(integer ch, string name, key id, string msg)
  28.     {  
  29.        if (llGetOwner() == llGetOwnerKey(id))
  30.        {
  31.            llSetTexture(llGetSubString(msg,0,-1),side);
  32.        }
  33.     }
  34. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top