Edie_Shoreland icon

Linkset Scrubber

Edie_Shoreland | PRO | 01/06/19 08:41:35 PM UTC | 0 ⭐ | 9119 👁️ | Never ⏰ | []
Linden Scripting |

0 B

|

None

|

0 👍

/

0 👎

// This should cover clearing most of the prim properties
// out of all prims in a linkset, with a few extra commands
// (like camera and touchtext) to clear out the linkset's 
// root prim.
 
default
{
    state_entry()
    {
        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]);
        llSetTouchText( "" );
        llLinkParticleSystem(LINK_SET, []);
        llSetCameraAtOffset( ZERO_VECTOR );
        llSetCameraEyeOffset( ZERO_VECTOR );
        llSetLinkTextureAnim(LINK_SET, FALSE, ALL_SIDES, 1, 1, 0, 0, 0.0 );
        llOwnerSay("These prims are Clean... ");
        llRemoveInventory( llGetScriptName() );
        // vanish without a trace...
    }
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎