User:Toady Nakamura
Revision as of 12:37, 16 October 2008 by Toady Nakamura (talk | contribs) (continuing to add small bits and learn how to use wiki editing)
Toad's Hall
I love finding useful scripts here in the Wiki, but there's so many good scripts that I can't find anywhere but inworld. My goal here is to put up good, useful, easy to read and easy to learn scripts to help beginning scripters and provide a uniform reference for my students.
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, Version 1 // Resets prim to default states and self-deletes // You have to remove the troublesome script yourself.
default {
state_entry() { llSetSitText( "" ); llSetTouchText( "" ); llParticleSystem( [ ] ); llSetText( "", ZERO_VECTOR, 1.0 ); llTargetOmega( ZERO_VECTOR, 0, 0 ); llSetCameraAtOffset( ZERO_VECTOR ); llSetCameraEyeOffset( ZERO_VECTOR ); llSitTarget( ZERO_VECTOR, ZERO_ROTATION ); llSetTextureAnim( FALSE , ALL_SIDES, 1, 1, 0, 0, 0.0 ); llOwnerSay("Prim Scrubbed Clean... "); llRemoveInventory( llGetScriptName() ); // vanish without a trace... }
}
</lsl>