At 9:34 PM -0400 4/14/13, Storm Singer wrote:

That's what I thought. I think I ran into this problem in the past, and I wound up using completely different code to solve it. Probably the llgiveinventory command.
It all rings bells... Unfortunately I'm not a terribly organized coder...


A small code snippet can emulate llGiveInventoryList with a loop on llGiveInventory, with no delay penalty (2.0s for an avatar target, 0.0 for an object).

We just have to flag llGiveInventoryList to object as non implemented and use this work-around:

myGiveInventoryList (key target, string folder, list inventory )
{
    integer howMany = llGetListLength (inventory);
    integer i; for (i=0; i<howMany; i++)
        llGiveInventory (target, llList2String (inventory, i) );
}


-- Jeff
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to