Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Stop Scripts...pleeeze stop!!

Perre Anatine
reflect..repent..reboot
Join date: 6 Jun 2007
Posts: 714
09-14-2008 17:18
Y'know what it's like..you've created the perfect moving glowing molten magma and you decide to add a steam/smoke script for a little authenticity..looks great..but not quite right. So you delete that steam/smoke script and decide to try something else.

Well you would try something else but that steam script despite being but a deleted memory insists on carrying on. So you now spend the next half hour trying every 'stop' script in your '5 million essential scripts' box..to no avail. Log out and back in again and it's still there. So what's the problem here, why is it some scripts just insist on carrying on regardless..any suggestions before I delete my perfect glowing magma and start again.


Thanks..Perre..:)
Tarina Sewell
Just Browsing Thank you
Join date: 20 Jul 2007
Posts: 2,180
09-14-2008 17:19
get the scrubber script.

I have currently uninstalled SL so I cant send it to you in world. But there should be one on the scripts part of the forum

reminds me of when I rezzed that huge flower thingy my first week on my new land and could not get rid of that thing.. had to call in the owner of the sim to help me get rid of it. lol that was fun
Rhaorth Antonelli
Registered User
Join date: 15 Apr 2006
Posts: 7,425
09-14-2008 17:21
some scripts persist even after deletion because they actually are a part of the prim and not running from the script (if that makes sense)

so when you delete a script, it still shows as there because it has become part of the prim properties

a scrubber script will remove it, just search the scripting library on the forums for one
_____________________
From: someone
Morpheus Linden: But then I change avs pretty often too, so often, I look nothing like my avatar. :)


They are taking away the forums... it could be worse, they could be taking away the forums AND Second Life...
Perre Anatine
reflect..repent..reboot
Join date: 6 Jun 2007
Posts: 714
09-14-2008 17:23
Scrubber script it is then..thanks folks!!

Perre..:D
Nika Talaj
now you see her ...
Join date: 2 Jan 2007
Posts: 5,449
09-14-2008 17:25
Perre, your particle system, like sound, hovertext, and sit targets, are an attribute of a prim. That means, once you turn them on via script, they are on forever until explicitly turned OFF.

Here's the scrubber script that turns off all prim attributes. Just drop it in the contents, it will run immediately and delete itself.

CODE

default
{
state_entry()
{
llSetSitText( "" );
llSetTouchText( "" );
llParticleSystem( [ ] ); // This is the line that turns off particles, including bling!
llSetText( "", ZERO_VECTOR, 1.0 );
llTargetOmega( ZERO_VECTOR, 0, 0 );
llSetCameraAtOffset( ZERO_VECTOR );
llSetCameraEyeOffset( ZERO_VECTOR );
llSitTarget( ZERO_VECTOR, ZERO_ROTATION );
llSetTextureAnim( FALSE , ALL_SIDES, 1, 1, 0, 0, 0.0 );
llStopSound();
llOwnerSay("This Prim is Clean... ");
llRemoveInventory( llGetScriptName() ); // vanish without a trace...
}
}
CODE
Tarina Sewell
Just Browsing Thank you
Join date: 20 Jul 2007
Posts: 2,180
09-14-2008 17:27
woot!
Perre Anatine
reflect..repent..reboot
Join date: 6 Jun 2007
Posts: 714
09-14-2008 17:33
Excellent Nika..I was just looking at the endless pages of results under the search 'scrubber' and thinking...oh crap..this might take a while!!

Thanks..Perre..:D

And it worked perfectly..thanks again!
Bree Giffen
♥♣♦♠ Furrtune Hunter ♠♦♣♥
Join date: 22 Jun 2006
Posts: 2,715
09-14-2008 18:18
Damn. I knew I had to log in and save this scrubber script. Thanks!
TigroSpottystripes Katsu
Join date: 24 Jun 2006
Posts: 556
09-15-2008 00:09
From: Nika Talaj
Perre, your particle system, like sound, hovertext, and sit targets, are an attribute of a prim. That means, once you turn them on via script, they are on forever until explicitly turned OFF.

...


less abstract examples would be color and light, I would think trying to explain the behavior of particle systems by mentioning other things that make people confused would be less effective than comparing it to other changes to prim properties that don't elicit confusion....