Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007256opensim[REGION] Script Functionspublic2014-07-08 03:462014-07-09 18:44 
Assigned To 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007256: Attach/wear object by script results in object disappear
DescriptionI would like to let avatars pick up an object when they click on it.
I tried using osForceAttachToAvatar or llAttachToAvatar under touch event.
After clicking on the object, I can see that the inventory showing that the object is wearing on my avatar but it is not visible actually.

To solve this problem I have to edit the object / wear again after detached it in the inventory. And sometimes only my only viewer can see the change and other users cannot see the update of wearing object.

* Is my approach incorrect?
Steps To Reproduce1. Import a mesh model
2. Create the script to attach to the avatar when touching it.
3. rez it on the ground
4. click the prim to trigger my script
Additional InformationSCRIPT:
     touch_start(integer num_detected)
          llOwnerSay("I am being touched by " + llDetectedName(0) + ".");
TagsNo tags attached.
Git Revision or version number
Run ModeStandalone (1 Region)
Physics EngineBasicPhysics
Script Engine
Environment.NET / Windows64
Mono VersionNone
Attached Filespng file icon attach.png [^] (183,589 bytes) 2014-07-08 03:46

- Relationships

-  Notes
justincc (administrator)
2014-07-09 15:28

What happens if you zoom in on your avatar after attaching. Do the attachments then appear?
(0026460) (reporter)
2014-07-09 18:44

The attachment also appeared after zoom in and then zoom out

- Issue History
Date Modified Username Field Change
2014-07-08 03:46 New Issue
2014-07-08 03:46 File Added: attach.png
2014-07-08 03:47 Description Updated View Revisions
2014-07-08 03:55 Description Updated View Revisions
2014-07-09 15:28 justincc Note Added: 0026458
2014-07-09 18:44 Note Added: 0026460

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker