Self-Destruction

From Second Life Wiki
Revision as of 17:39, 6 August 2007 by Mrzebra Arai (talk | contribs) (New page: <pre>// Davada Gallant (John Girard), WWIIOLers // 30-second self destructor default { state_entry() { //upon creation, immediately start the timer llSetTimerEvent...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
// Davada Gallant (John Girard), WWIIOLers
// 30-second self destructor

default
{
    state_entry()
    {
        //upon creation, immediately start the timer
        llSetTimerEvent(30.0);
    }

    //once the timer ticks off, kill the object
    timer()
    {
        llDie();   
    }
}