Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Inventory / Landmark script - help for newbie

Aitor Boronski
Registered User
Join date: 12 Dec 2006
Posts: 2
02-06-2007 14:18
Hi,

I'm starting with scripting, so I apologize if this is a dumb question, but I've searched for some days around without finding an answer...

I wanted to be able to share my landmark list with someone else, regardless of the number of items and including the subfolder structure... I wanted to put them all with a script in a box-object for transferring, but as far as I understand, there are no subfolders allowed in a box. So perhaps just writing all Landmarks down to one or several notecards (with some defined syntax) would be the solution. In both cases the receiver would also need a script to unpack them correctly and add only those that are not already in his inventory.

Am I totally wrong with this idea? Are there already some solutions or code sniplets for handling inventory landmarks?

Many thanks in advance...
DoteDote Edison
Thinks Too Much
Join date: 6 Jun 2004
Posts: 790
02-06-2007 16:44
You can give them into separate folders of the user's inventory, however they will be stored in the object under the single "contents" folder. Use llGiveInventoryList() to have specific folders created within the receiver's inventory. You'll need a way to formulate the separate lists within your script, maybe by naming convention of the landmarks.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
02-07-2007 00:38
The problem is llGiveInventoryList() will only create folders in the inventory root.
I dont think its possible to create sub sub folders?