Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

script ghosts?

Ceej Gardner
Member
Join date: 22 Sep 2003
Posts: 22
04-08-2004 10:54
Don't know if "script ghosts" is an accurate title, but I would like to know how to eliminate the floating text on a prim after the script for it has been removed.

This also happens on particle scripts, for smoke for instance, when the script is deleted and but the smoke remains.

I have a freebie box that I would like to put out, but I don't want to see that annoying floating red text all the time. Is there a method/order of doing this without having to create a new prim? Thanks!!
_____________________
Thanks for being a contestant!!
Moopf Murray
Moopfmerising
Join date: 7 Jan 2004
Posts: 2,448
04-08-2004 11:04
Ceej, with the text, just put a new script in that uses llSetText to set a blank string:

llSetText("",<1,1,1>,1);

With particles, you need to do a blank to call the paticle system to turn it off:

llParticleSystem([]);

You can remove the scripts after they've cleared the text/particles.

Hope those help.
_____________________
Hank Ramos
Lifetime Scripter
Join date: 15 Nov 2003
Posts: 2,328
04-08-2004 11:18
I'll make a particle/text/vehicle reset script that you just drag and drop on an object, and it clear up all of these issues. I'll post it to the SL Forum Script Repository located at the University of Second Life later tonight.

Thanks for the code and tips Moopf! :)
Ceej Gardner
Member
Join date: 22 Sep 2003
Posts: 22
04-08-2004 11:18
Thank you, Moopf!!
_____________________
Thanks for being a contestant!!
Ceej Gardner
Member
Join date: 22 Sep 2003
Posts: 22
04-08-2004 11:19
Thank you too, Hank!!
_____________________
Thanks for being a contestant!!
Moleculor Satyr
Fireflies!
Join date: 5 Jan 2004
Posts: 2,650
04-08-2004 13:33
Hank, be sure to add a llRemoveInventory(self) type thing at the very end of it, so all you REALLY have to do is drag the script onto the object, and poof, it's fixed.
_____________________
</sarcasm>