Difference between revisions of "Self-Destruction"
Jump to navigation
Jump to search
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...) |
Mrzebra Arai (talk | contribs) |
||
Line 1: | Line 1: | ||
Change the number in llSetTimerEvent('''30.0''') to set the time, in seconds, that it will take for the object to disappear. | |||
==Script== | |||
<pre>// Davada Gallant (John Girard), WWIIOLers | <pre>// Davada Gallant (John Girard), WWIIOLers | ||
// 30-second self destructor | // 30-second self destructor | ||
Line 7: | Line 9: | ||
{ | { | ||
//upon creation, immediately start the timer | //upon creation, immediately start the timer | ||
llSetTimerEvent(30.0); | ''llSetTimerEvent(30.0)''; | ||
} | } | ||
Revision as of 17:42, 6 August 2007
Change the number in llSetTimerEvent(30.0) to set the time, in seconds, that it will take for the object to disappear.
Script
// 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(); } }