SHARE
TWEET

Linkset Scrubber

Edie_Shoreland Jan 6th, 2019 (edited) 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // This should cover clearing most of the prim properties
  2. // out of all prims in a linkset, with a few extra commands
  3. // (like camera and touchtext) to clear out the linkset's
  4. // root prim.
  5.  
  6. default
  7. {
  8.     state_entry()
  9.     {
  10.         llSetLinkPrimitiveParamsFast(LINK_SET, [PRIM_TEXT, "", ZERO_VECTOR, 0.0, PRIM_OMEGA, ZERO_VECTOR, 0.0, 0.0, PRIM_SIT_TARGET, FALSE, ZERO_VECTOR, ZERO_ROTATION]);
  11.         llSetTouchText( "" );
  12.         llLinkParticleSystem(LINK_SET, []);
  13.         llSetCameraAtOffset( ZERO_VECTOR );
  14.         llSetCameraEyeOffset( ZERO_VECTOR );
  15.         llSetLinkTextureAnim(LINK_SET, FALSE, ALL_SIDES, 1, 1, 0, 0, 0.0 );
  16.         llOwnerSay("These prims are Clean... ");
  17.         llRemoveInventory( llGetScriptName() );
  18.         // vanish without a trace...
  19.     }
  20. }
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