Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Instant Object Death

Queenof Sideshow
Registered User
Join date: 18 Nov 2008
Posts: 5
11-28-2008 11:40
I have a quick question: let's say I want to have an object spawn a little sphere. This sphere, upon rez, should send out a quick burst of particles, then die. How can I put the script into the sphere and pick the object up before the object kills itself? Do I need to put the command into on_rez or something?

Thanks!

Queen
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-28-2008 13:34
setup the particle script in the sphere in advance, then delete it (particles continue to run regardless), script an llDie command (do it in the onRez event, allowing you to drop the script in safely) add the scripted sphere to your other object

then when you rez the sphere, the particles automatically start, and then the object dies (might want a timer, dependingon the effect)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Queenof Sideshow
Registered User
Join date: 18 Nov 2008
Posts: 5
11-28-2008 19:20
Thanks so much! It worked perfectly.