Difference between revisions of "User:Toady Nakamura"

From Second Life Wiki
Jump to navigation Jump to search
m
m (→‎Useful Scripts: added more stuff to the scrubber)
Line 39: Line 39:


<lsl>
<lsl>
// The Scrubber Originally by Jopsy Pendragon, Feb 10 2006, Version 1
// The Scrubber Originally by Jopsy Pendragon, Feb 10 2006/Toadified May 1, 2011
// Resets prim to default states and self-deletes
// Resets prim to default states and self-deletes. // Will not remove your original script.
// You have to remove the troublesome script yourself.


default
default
Line 47: Line 46:
     state_entry()
     state_entry()
     {
     {
         llSetSitText( "" );
         llSetSitText("");
         llSetTouchText( "" );
         llSetTouchText("");
         llParticleSystem( [ ] );
        llSetText("",<0,0,0>,1.0);
         llSetText( "", ZERO_VECTOR, 1.0 );
         llParticleSystem([]);
         llTargetOmega( ZERO_VECTOR, 0, 0 );
         llStopSound();
         llSetCameraAtOffset( ZERO_VECTOR );
        llSetTextureAnim(FALSE,ALL_SIDES,1,1,0,0,0.0);
         llSetCameraEyeOffset( ZERO_VECTOR );
         llTargetOmega(ZERO_VECTOR,0,0);
         llSitTarget( ZERO_VECTOR, ZERO_ROTATION );
        llSitTarget(ZERO_VECTOR,ZERO_ROTATION);
         llSetTextureAnim( FALSE , ALL_SIDES, 1, 1, 0, 0, 0.0 );
 
         llSetCameraAtOffset(ZERO_VECTOR);
         llSetCameraEyeOffset(ZERO_VECTOR);
 
         llSetPayPrice(PAY_DEFAULT,[PAY_DEFAULT,PAY_DEFAULT,PAY_DEFAULT,PAY_DEFAULT]);
        llStopMoveToTarget();
        llStopLookAt();
         llVolumeDetect(FALSE);
        llCollisionFilter("", NULL_KEY, TRUE);
        llForceMouselook(FALSE);
        llPassCollisions(TRUE);
        llPassTouches(TRUE);
        llRemoveVehicleFlags(-1);
        llSetVehicleType(VEHICLE_TYPE_NONE);
        llSetRemoteScriptAccessPin(0);
        llSetBuoyancy(0.0);
        llSetForceAndTorque(ZERO_VECTOR,ZERO_VECTOR,FALSE) ;
 
         llOwnerSay("Prim Scrubbed Clean... ");
         llOwnerSay("Prim Scrubbed Clean... ");
         llRemoveInventory( llGetScriptName() );
         llRemoveInventory( llGetScriptName() );
Line 61: Line 77:
     }
     }
}  
}  
</lsl>
</lsl>



Revision as of 09:10, 5 May 2011

Profile
Toady Nakamura.jpg
Born:
January 6, 2007
About:
Grendel's Children Designer
NOW?:
  • Enjoys learning
  • Loves Raglan Shire
  • Frustrated by lack of basic Wiki scripts

Toad's Hall

I love finding useful scripts here in the Wiki, but most of them are aimed at AWESOME scripters, not beginners. I use this page to store handy scripts!

I rezzed 6327 days ago and learn something new every day.

Great films

The Wizard & The Ozimal, machinama
by Pyewacket Bellman
[1]

Treet.tv Designing Worlds January 25, 2011 [2]

Useful Scripts

I put up "The Scrubber" because I can't find it anywhere else on this WIKI.

<lsl> // The Scrubber Originally by Jopsy Pendragon, Feb 10 2006/Toadified May 1, 2011 // Resets prim to default states and self-deletes. // Will not remove your original script.

default {

   state_entry()
   {
       llSetSitText("");
       llSetTouchText("");
       llSetText("",<0,0,0>,1.0);
       llParticleSystem([]);
       llStopSound();
       llSetTextureAnim(FALSE,ALL_SIDES,1,1,0,0,0.0);
       llTargetOmega(ZERO_VECTOR,0,0);
       llSitTarget(ZERO_VECTOR,ZERO_ROTATION);
       llSetCameraAtOffset(ZERO_VECTOR);
       llSetCameraEyeOffset(ZERO_VECTOR);
       llSetPayPrice(PAY_DEFAULT,[PAY_DEFAULT,PAY_DEFAULT,PAY_DEFAULT,PAY_DEFAULT]);
       llStopMoveToTarget();
       llStopLookAt();
       llVolumeDetect(FALSE);
       llCollisionFilter("", NULL_KEY, TRUE);
       llForceMouselook(FALSE);
       llPassCollisions(TRUE);
       llPassTouches(TRUE);
       llRemoveVehicleFlags(-1);
       llSetVehicleType(VEHICLE_TYPE_NONE);
       llSetRemoteScriptAccessPin(0);
       llSetBuoyancy(0.0);
       llSetForceAndTorque(ZERO_VECTOR,ZERO_VECTOR,FALSE) ;
 
       llOwnerSay("Prim Scrubbed Clean... ");
       llRemoveInventory( llGetScriptName() );
       // vanish without a trace...
   }

} </lsl>

SL Tutorials

Watch video tutorials and indulge your creative curiosity in Second Life...

Learning, intrigue, and wild fun awaits you...
Visit Here for enlightenment today!

Robin Wood texture tutorials
Best spot to get rid of white lines on alphas!!