Jump to content
  • 0

Okay so i have a ? about a script?


Royalbankof Azalee
 Share

You are about to reply to a thread that has been inactive for 4522 days.

Please take a moment to consider if this thread is worth bumping.

Question

4 answers to this question

Recommended Posts

  • 0

Well since we don't know what the item is, its hard to answer that question.  There are items like hair, shoes and clothing that have resizing scripts that would probably not be damaged by removing their scripts.  But things like HUD's are worthless without their scripts.  Also you may find that many of items you have with scripts are no-modify which means you can't remove the scripts even if it was safe to do so.

--Cinn

Link to comment
Share on other sites

  • 0

Joshewa Daniels wrote:


Use llRemoveInventory(llGetScriptName()); to remove a script from the object without effecting anything else just removing the script


@ Royalbank:  That's not a complete script, so it won't actually do anything.  That's a good thing, actually, because it's not necessarily true that it won't affect anything else.  After all, it will stop whatever the script was meant to do. Since you didn't tell us what your object is or what the script is for, I would be very cautious about recommending that you remove it.  A vehicle or a radio without its script, for example, is pretty worthless. 

Also, some prim properties are set by a script and can only be unset or removed by a script.  Hover text and particles fall into that category, for example.  If you remove the script that controls them, the effects will still be in your object -- and uncontrollable except with another script.  The proper way to remove them (if you want to) is to use a scrubber script that deletes not only the script in your object but all the script-dependent properties as well.  Again, however, you wouldn't want to take that step without knowing what the script in your object is meant to do. 

The bottom line and the answer to your original question is that it might be possible to remove the script from your object -- whatever it is -- without harming it, but you would be unwise to do it unless you either had a backup copy of the object to play with or understood exactly what the script was there for.  THEN you could either use a scrubber script of some kind or simply reach into the object's contents and delete it manually.

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4522 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...