Thanks Justin - that's pointed me in the right direction.  Struggling a bit but I'll stick with it!<br><br><div class="gmail_quote">On Fri, Dec 3, 2010 at 3:13 AM, Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com">jjustincc@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 02/12/10 12:31, Neil Canham wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've been thrashing around for a while - time to ask the people who actually know what they are doing... as part of my<br>
attempts to create a HUD-based appearance management system I need to be able to force updates of the HUD and related<br>
clothes and attachments.  I previously had some success in writing a region module that uploaded IARs to users when they<br>
logged in and attached the HUD.  However, it seems to me that using the Library is probably the right way to go.<br>
  Dropping iar files in the bin/Library folder gets them into peoples Library folder - but I can't work out how in a<br>
region module I would copy a folder or set of folders into the AVs main inventory and then wear items.  Any pointers<br>
much appreciated (unless you think this is an unworkable idea in the first place!)<br>
</blockquote>
<br>
I think the nearest thing we current have is avatar to avatar inventory transfer.  Look in<br>
OpenSim/Region/CoreModules.Avatar/Inventory.Transfer/InventoryTransferModule.cs for this.<br>
<br></div>
The Scene.GiveInventoryFolder() method is the important one.  For the sending agent ID you might be able to supply the uuid for the library 'user'.<div><div></div><div class="h5"><br>
_______________________________________________<br>
Opensim-dev mailing list<br>
<a href="mailto:Opensim-dev@lists.berlios.de" target="_blank">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
</div></div></blockquote></div><br>