This is a Cycle Texture script, It works great for a Slide Show on a TV or something?

default
{
state_entry()
{
llSetTimerEvent(5.0);
}
timer()
{
integer number = llGetInventoryNumber(INVENTORY_TEXTURE);
float rand = llFrand(number);
integer choice = (integer)rand;
string name = llGetInventoryName(INVENTORY_TEXTURE, choice);
if (name != “”)
llSetTexture(name, 4);
}
}

Spread the love

Tags:

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *