[Opensim-users] osForceAttachToAvatar Temp item?
Justin Clark-Casey
jjustincc at googlemail.com
Thu Oct 11 00:09:28 UTC 2012
Hi Fleep. Unfortunately, there are no osForce* equivalents yet for temporary attachments as the temporary attachments
functionality is very new in OpenSimulator.
I don't think it's currently possible without writing new code, though I would hope that wouldn't be too complicated as
the code path would be shared with practically all of TempAttachmentsModule.llAttachToAvatarTemp(). I would like to
address this but I'm not sure when I'll get time. I'm also not entirely sure how much temporary attachments themselves
have been tested as of yet.
Unfortunately, I don't think there's any other way to prevent the attachments going into the user's inventory.
On 10/10/12 16:55, Fleep Tuque wrote:
> Hi folks,
>
> We're working on a HUD that is taking advantage of several OSSL functions to attach items to users without requiring
> permission checks, but I noticed today every time we use one of these HUD functions, when the object detaches it goes
> into the user's inventory, which isn't a good thing.
>
> I see in LSL that there's a llAttachToAvatarTemp function that says: Follows the same convention as llAttachToAvatar,
> with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.
>
> Are there any equivalents with the OSSL osForceAttach functions?
>
> osForceAttachToAvatar
> osForceAttachToAvatarFromInventory
> osForceAttachToOtherAvatarFromInventory
>
> If not, is it possible? Or is there some other way to make it so the items don't go into the user's inventory?
>
> - Chris/Fleep
>
>
> Chris M. Collins (SL/OS: Fleep Tuque)
> Center for Simulations & Virtual Environments Research (UCSIM)
> UCIT Instructional & Research Computing
> University of Cincinnati
> 406A Zimmer Hall
> 315 College Drive
> PO BOX 210088
> Cincinnati, OH 45221-0088
> chris.collins at uc.edu <mailto:chris.collins at uc.edu>
> (513) 556-3018
>
> http://ucsim.uc.edu
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
--
Justin Clark-Casey (justincc)
OSVW Consulting
http://justincc.org
http://twitter.com/justincc
More information about the Opensim-users
mailing list