Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

object can handle a "taken by owner" event?

Artad Aridian
Registered User
Join date: 17 Oct 2006
Posts: 10
12-17-2006 12:45
Hello

is there any way to catch in an object scripts the event when Owner takes the object in his/her inventory?

Thank you

Artad
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
12-17-2006 12:47
From: Artad Aridian
Hello

is there any way to catch in an object scripts the event when Owner takes the object in his/her inventory?

Thank you

Artad



No, but you can capture when it is rerezzed (on_rez event).
Artad Aridian
Registered User
Join date: 17 Oct 2006
Posts: 10
12-17-2006 12:51
From: Newgate Ludd
No, but you can capture when it is rerezzed (on_rez event).


Thank you.
I already use rez event. I'd need to track an event when object is taken. But I'll have to find a workaround then.
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
12-17-2006 13:03
From: Artad Aridian
Thank you.
I already use rez event. I'd need to track an event when object is taken. But I'll have to find a workaround then.


Since the script will be suspended when taken this is a bit of a problem.
You could use a continually updated timestamp, and then when rezzed check if the time is too far out of date and act accordingly. It would at least let you know you had previously been inventorised.