Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Wear Script

Samantha Sachertorte
Sexy Sam
Join date: 3 Sep 2005
Posts: 105
03-26-2009 05:17
Hi All
Is there any way a Skin and a Shape can be put into a prim
(Hopefully this can also be menu driven with choices)
When an AV clicks the prim it will give the skin and shape but once the AV has clicked the prim they will then automatically be wearing the Skin and Shape. If this is possible I would like to develop this a little further with a scripter.
Thanks
Samantha
_____________________
Owner of Sexy Sam's Designs Designs
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
03-26-2009 07:43
avatar layers aren't scriptable. with a different viewer, like restrained life viewer, it's sorta possible, but not from a prim i don't think. never used it myself.
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
03-26-2009 08:52
You can GIVE them the items with llGiveInventory() or llGiveInventoryList(), but there's no way to have them automatically wear them. Unless you use a custom viewer, anyway. I believe the "Restrained Life" viewer does that sort of thing, but I'm not sure if it has security features that keep you from being forced to wear just any old items something has just given to you. I sort of hope it does.
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
03-26-2009 10:00
From: Samantha Sachertorte
Is there any way a Skin and a Shape can be put into a prim
You just drag them into the prim's inventory.
(right click the prim, choose edit from the pie menu, open the content's window with the content tab, drag the shape and skin from your inventory into the prim's content window)

From: Samantha Sachertorte
When an AV clicks the prim it will give the skin and shape but once the AV has clicked the prim they will then automatically be wearing the Skin and Shape.
A prim can give the prim containing the skin and shape when touched. When they open that, they can choose to 'Copy and Wear'. That will put on the skin and shape right away.
(to copy and wear: right click prim, choose open from the pie menu, then press the button: 'Copy and Wear')
_____________________
From Studio Dora