|
LordJohn Whorfin
Registered User
Join date: 29 Sep 2006
Posts: 3
|
10-13-2006 09:44
Dumb question:
I had thought that all I had to do was open it up, uncheck the "running" box, hit reset, then delete. Boy was I wrong. Now I have a script attached to a prim that won't turn off, and it no longer exists to be opened and set to run or not run. What to do?
|
|
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
|
10-13-2006 09:51
What did the script do? If it made the prim spin, or set floating text above it, or created particles, those become a property of the prim (like it's shape, color, etc.). So you can delete the script, and the text will remain, the object will keep spinning, and so on. To turn that off, you'll need to add a new script into the prim that explicitly turns it off.
Other than that, I can't think of a 'script effect' that sticks around after the script's been deleted.
|
|
LordJohn Whorfin
Registered User
Join date: 29 Sep 2006
Posts: 3
|
10-13-2006 10:02
It's text, telling me who hit or bumped me, and it has a default message that floats above the prim til triggered. I know I don't really need with with the "bumps/pushes" selection in the tools menu, but I'm interested in learning scripting and I wanted to see how it worked.
Sounds like I should create the prim and delete the old one.
|
|
Tiger Crossing
The Prim Maker
Join date: 18 Aug 2003
Posts: 1,560
|
10-13-2006 10:21
Two options:
1) Make a new script in the object with "llSetText( "", <0,0,0>, 0);" in it, compile it, then delete it.
2) Shift-drag the object in-world (not as an attachment) to create a fresh copy. The copy won't have the lingering floating text.
Use whichever method that seems easiest to you.
_____________________
~ Tiger Crossing ~ (Nonsanity)
|
|
LordJohn Whorfin
Registered User
Join date: 29 Sep 2006
Posts: 3
|
10-13-2006 10:54
Thanks. Tried #1 (one of my first scripts!) and it worked perfectly.
|
|
Clinton Bulan
Registered User
Join date: 9 Oct 2006
Posts: 22
|
10-14-2006 01:01
Had the same issue tonite with the "bling" script on some jewelery I made. I tried the script, decided I didn't care for it and deleted the script. Now my labret peircing won't stop flashing >  I tried creating a new copy of it as suggested above but it's still stuck flashing. Any ideas?
|
|
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
|
10-14-2006 01:06
From: Clinton Bulan Had the same issue tonite with the "bling" script on some jewelery I made. I tried the script, decided I didn't care for it and deleted the script. Now my labret peircing won't stop flashing > I tried creating a new copy of it as suggested above but it's still stuck flashing. Any ideas? Yes: default { state_entry() { llParticleSystem([]); llRemoveInventory(llGetScriptName()); } } Particles are part of the prim, not the script (the script modifies the prim). That script will turn off the particles, then self-destruct. (leaving the now particle-less prim untouched.)
|