Don't click here unless you want to be banned.

LSL Wiki : LibraryAttachInvis

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ia360925.us.archive.org

AttachInvis


Some objects, particulary objects whose only purpose is to hold scripts, don't want to be seen when attached.

Still, it's hard to find invisible things on the floor.

UpdateVis(integer isAttached) {
    if (isAttached) {
        llSetLinkAlpha(LINK_SET, 0.0, ALL_SIDES);
    } else {
        llSetLinkAlpha(LINK_SET, 1.0, ALL_SIDES);
    }
}

default {
    state_entry() { UpdateVis(llGetAttached()); }
    attach( key k ) { UpdateVis( k != NULL_KEY ); }
}

ScriptLibrary | Dolyn's Scripts
There is no comment on this page. [Display comments/form]