|
Korena Starbrook
Registered User
Join date: 20 Feb 2007
Posts: 12
|
07-12-2007 11:54
Is there any type of event I could use that would detect when an item was being taken into inventory and allow a function to fire prior to that event occuring???
I need to reset some prim defaults so when the object is rerezzed - the positioning and sizing scripts work.
Any help would be greatly appreciated.
Thanks
- Korena
|
|
Milambus Oh
Registered User
Join date: 6 Apr 2007
Posts: 224
|
07-12-2007 12:25
From the Wiki: http://lslwiki.net/lslwiki/wakka.php?wakka=on_rezFrom: someone Q: Is there an event that runs when the object is deleted or taken into inventory? A: No. The attach() event will be triggered when detaching an attached object, but that's it. If you're wanting to create some sort of cleanup function or to disable your object after use, use on_rez()
|