These forums are CLOSED. Please visit the new forums HERE
Wear Inventory Item Programmatically? |
|
Under Thirty
Registered User
Join date: 9 May 2005
Posts: 29
|
06-10-2005 08:04
how can i script something, so when i touch an object, an inventory item attaches to my avatar or gets worn? do i have to rez the inventory item first?
_____________________
http://underthirty.blogspot.com/
|
Newfie Pendragon
Crusty and proud of it
![]() Join date: 19 Dec 2003
Posts: 1,025
|
06-10-2005 08:09
how can i script something, so when i touch an object, an inventory item attaches to my avatar or gets worn? do i have to rez the inventory item first? Well...if you want it touch-based, then it'll have to be rezzed to be touched. ![]() As for making it attached, you can write a script that calls llAttachToAvatar() to do the attaching. Call it in the touch_start event, or if you want it attached every time it's rezzed, putting it in the on_rez event will make it happen the moment it's rezzed. - Newfie _____________________
|