Weekly Raffle
Top Free Scripts
ASD Web Tools
Random Color
 
Script ID : 3
Published Date: 2006/10/12 15:43:15
Reads : 15333
Colors

This is a real simple, yet cool script. I've listed two versions below. The first will change colors in a single prim and the other is for multiple prims that are linked together.


Single Prim

default 
{
    
state_entry() 
    {
        
llSetTimerEvent(2.0); // every 2 seconds
    
}

    
timer() 
    {
        
llSetColor(<llFrand(1.0),llFrand(1.0),llFrand(1.0)>, ALL_SIDES);
    }
}


Multiple Prim
default 
{
    
state_entry() 
    {
        
llSetTimerEvent(2.0); // every 2 seconds
    
}

    
timer() 
    {
        
llSetLinkColor(LINK_SET, <llFrand(1.0),llFrand(1.0),llFrand(1.0)>, ALL_SIDES);
    }
}

Printer Friendly Page Send this Script to a Friend

Disclaimer: While I do not mind if these scripts are used in things you sell, I do not wish for these scripts to be sold either on their own or in script packs.
Most Popular Raffle System In Second Life
Visit ASD Studios Hollywood
Search for Help
Monthly Free Item
Halloween Cupcakes


Limit one per avatar
Teleport Now!



Sponsor

Site Info
Total Hits: