[Opensim-users] Dynamically attaching objects to NPCs

Justin Clark-Casey jjustincc at googlemail.com
Sat Mar 2 01:47:36 UTC 2013


On 01/03/13 14:12, Spyros Vosinakis wrote:
> 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.

How about osForceAttachToAvatar(), etc?

-- 
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc



More information about the Opensim-users mailing list