|
Tsukasa Sakai
Registered User
Join date: 13 Oct 2006
Posts: 16
|
05-01-2007 07:28
I understand state_exit() is not fired when an object is deleted or picked up. Is there any way to detect this? I'd like my object to send an e-mail when it disappears.
Thanks ^^
|
|
Fenrir Reitveld
Crazy? Don't mind if I do
Join date: 20 Apr 2005
Posts: 459
|
05-01-2007 08:38
The ability to detect when an object dies by its container stricts is impossible.
Your best bet would be to use a Robin Hood/Friar Tuck dead-man-switch, or even use llSensor to see if it still exists. Or, if you rezzed the object from another, keep its UUID handy and then check its existance occasionally by doing llGetOwnerKey(). (Which will fail and return the object's UUID instead of its owner if it's outside the current sim/doesn't exist.)
_____________________
---- ---- ----
|