Jump to content

rezz, temp attach, detach, and die


Tighern McDonnell
 Share

You are about to reply to a thread that has been inactive for 2059 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

I am trying to figure out how to do the following... I know parts of the code but cannot seem to get the right functions. 

Script and objects located in a worn object (belt) - touch belt and it gives you a menu to select an item, the item is then rezzed at feet and a permission box to animate charecter comes up, permission granted and the object attaches to users hand and plays the animation in the object, user touches item, items does its thing and will then detach and die. I can make the menu, i can make the object and its actions but the attach and detach part are the things i am just not figuring out. Thanks for any help.

Link to comment
Share on other sites

You need llAttachToAvatarTemp.  Take a look at the examples in the wiki.  They should give you the general idea.  As soon as you detach the temp-attached item (with a signal from your script's touch_start event ), the object will vanish forever.  It will never show up in the user's inventory.

  • Thanks 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 2059 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...