Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

editing scripts in inventory items

Karyn Kuhr
Registered User
Join date: 23 Jul 2005
Posts: 7
08-22-2005 13:58
Is there an easy way to do it ? I don't seem to be able to get at them when they're in the object's inventory and repeatedly placing them in the world, editing them, taking them into my inventory and finally replacing them in the object's inventory is driving me mad ! I'm very new at all this and finding it quite hard to develop an efficient working methodology in llScriptSpace !
Zalandria Zaius
Registered User
Join date: 17 Jan 2004
Posts: 277
editing scripts in objects
08-23-2005 19:03
Make sure you have modify rights for the object you're working on. That's the only way you can open the stuff inside it, not matter what permissions you have for the contents.
Minsk Oud
Registered User
Join date: 12 Jul 2005
Posts: 85
08-23-2005 19:51
To get a little closer to the actual question: No, when a prim is in an inventory (either yours or another prim's) there is no way to edit anything beyond the properties dialog.

As an educated guess, objects in inventory are stored in serialized form on the asset server. Manipulating them currently requires they be available in the local sim, which only happens when the object is rezzed.
_____________________
Ignorance is fleeting, but stupidity is forever. Ego, similar.
Ushuaia Tokugawa
Nobody of Consequence
Join date: 22 Mar 2005
Posts: 268
08-23-2005 20:00
I discussed this with Karyn in-world and determined that what she was looking for was actually Tools->Save Object Back To Object Contents.

Her placed prim was rezzing an object from its inventory which contained a script. She was editing the script in the rezzed object then taking the object back into inventory and placing it back into the contents of the rezzor.

Instead of doing this, all she needed to do was edit the script in the rezzed object, then choose Save Object Back To Object Contents from the Tools menu. This overwrites the previous version of the rezzed object in the rezzors contents with the new version containing the edited script.
_____________________
Zalandria Zaius
Registered User
Join date: 17 Jan 2004
Posts: 277
wow
08-27-2005 15:28
I didn't even know we had that stuff in the tools menu.. *Pokes around in there some more
Ledge Korvin
Registered User
Join date: 15 Jun 2005
Posts: 39
08-27-2005 16:15
Wow, no kidding, that is absolutely brilliant! Thanks Ushuaia for pointing that out! I can't count how many "obsolete" items I have in my trash because of not knowing this trick... :)