As some background to this query I have a standard 512m block with 117 prims and too many things to have out at once. To overcome this I spent a couple of hours creating a prim that contains configuration files (notecards) that lists the objects I want to rez at different times. The objects in the prim are:
- A number of notecards with object names, locations and rotations on each line
- A number of objects (named as per the notecard)
- Scripts (identical) with the same name as the different notecards
I name the notecards and scripts things like lounge, kitchen, patio etc and the notecard contains the objects I want in each room.
When the prim rezzes it runs the scripts, each script reading the notecard with the same name. This gives it the list of items to place in the room. The scripts listen on a channel and when I issue the command (for example) "/10 lounge unpack" the script checks that it is the lounge script and if the lounge is currently still in the box it positions each of the lounge objects according to the notecard configuration. To put the items back in the box I say (e.g.) "/10 lounge pack" and if the lounge is unpacked it sends a script to the objects which delete themselves.
My problem is this only works for objects I have copy and modify rights to, which is pretty much only the objects I have created . Rather than delete the rez'd objects I'd rather do something like take the rez'd object and put it back into the prim's inventory. I can't find anything that seems to do this. Is it possible to do? I'm getting desperate and frustrated. Any help would be gratefully received.
Siannah