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

LSL Wiki : LibraryPublicBillboard

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

PublicBillboard


Okay this script makes a public texture prim that anybody can drag a texture into it and it will cycle through all of the textures inside of its inventory. So enjoy! =^.^=

////////////////////////////////////////////////////////////////////////////
///////////////////// Creator: Chasingred3 Ixtab ///////////////////////////
////////////////////////////////////////////////////////////////////////////

// This script makes a "projector" like prim, anybody can ctrl drag a 
// texture into it and it will cycle through the textures, making a public Billboard.

// PLEASE dont try to sell this to some n00b or I will have to hunt you down and kill you, thank you! =^.^=

RandomTexture ()
{
    llSetTexture (llGetInventoryName (INVENTORY_TEXTURE, (integer) llFrand (llGetInventoryNumber (INVENTORY_TEXTURE))), ALL_SIDES);
}
default
{
    state_entry ()
    {
        llAllowInventoryDrop (TRUE);
        llSetTimerEvent (60.0);
        RandomTexture ();
    }
    timer ()
    {
        RandomTexture ();
    }
    touch_start (integer touches)
    {
        RandomTexture ();
    }
    changed (integer Change)
    {
        if (Change & (CHANGED_ALLOWED_DROP | CHANGED_INVENTORY))
            RandomTexture ();
    }
}


Textures | llFrand |
There is no comment on this page. [Display comments/form]