Reset button.lsl

From Second Life Wiki
Revision as of 12:52, 25 January 2015 by ObviousAltIsObvious Resident (talk | contribs) (language tags to <source>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
// Global Variables

integer toAllChannel = -255;                    // general channel - linked message

default
{
    state_entry()
    {
        
    }

    touch_start(integer total_number)
    {
        llMessageLinked(LINK_SET, toAllChannel, "reset", NULL_KEY);
        llSetColor( <0,0,0> , ALL_SIDES);
        llSleep(.2);
        llSetColor( <255, 255, 255>, ALL_SIDES);
    }
}