-
Notifications
You must be signed in to change notification settings - Fork 1
TempAttach to menu user
- This method DOES NOT require the use of the relay script.
- This method works well for SATMSG and NOTSATMSG implementations.
- This method DOES use a different arb number.
In this method we will need to know the name of the temp attach item we want to attach and the key for the AV since it is possible to do multiple seats with different items to be attached. So rather than supply the seat number, we need to supply the temp attach item name and the %AVKEY% to grab the sitter's key.
This method can be used to allow anyone to temp attach an item to their AV (seated or standing). Simply build a BTN card to rez the temp attach item and include a LINKMSG line to request the permissions and attach once permissions are granted.
`PROP|Male Create Glasses|<0,0,1.5>|<0,0,0>`
`LINKMSG|-6002|Male Create Glasses=attach/17|%AVKEY%`
Create a second BTN card to detach the item:
`LINKMSG|-6002|Male Create Glasses=detach/17|%AVKEY%`
If this is the only card and shared by several sitters, it is possible that multiple sitters can rez multiple temp attach objects at the same time, all rezzed objects will attach to the first to accept permissions. It is recommended that a card be put in with button permissions and use objects with different names to get around this issue.
For a complete list of the attach points and the integer associated with each point, look at the following web link: (http://wiki.secondlife.com/wiki/LlAttachToAvatarTemp)