[Opensim-users] Dynamically attaching objects to NPCs

Spyros Vosinakis spyrosv at aegean.gr
Fri Mar 1 14:12:27 UTC 2013


Hello all,

 

I would like to dynamically attach/detach objects to NPCs.

The only working solution I found to attach an object was to include a
script in the object that calls llAttachToAvatarTemp() upon click and to
make the NPC touch it via osNpcTouch().

However I can't find any way to drop the attachment.
osForceDropAttachmentAt() does not work with the temporary attachment.

 

Any ideas or suggestions??

 

Regards,

Spyros

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20130301/7655ef5a/attachment.html>


More information about the Opensim-users mailing list