|
Skippy Spectre
Registered User
Join date: 20 Aug 2005
Posts: 5
|
10-15-2005 01:13
I scanned this thread and the closest thing I found to this scripting suggestion was a request for an additional parameter for the on_rez event that would allow the script to determine the key of an object or agent that rezzed this object.
This request is similar: I find it would be incredibly helpful if a key was made available to find out who -changed- an object. Particularly it would be nice for my script to know who dropped an item into my object while llAllowInventoryDrop is enabled. Other possible advantages include the ability for a script to consult a list of Allowed or Banned keys to determine whether or not to keep the change or to revert it back to its original state.
I understand there's a possibility that implementing this feature might be somewhat difficult due to the fact that the agent that changed the object is usually ignored and not stored in memory. If that's so, would it be easier to instead have a new function llGetInventoryLastOwner(string item) that would return the previous owner of the item and, thus, the key of the person who dropped it?
Thanks.
|
|
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
|
10-15-2005 13:34
From: Skippy Spectre I understand there's a possibility that implementing this feature might be somewhat difficult due to the fact that the agent that changed the object is usually ignored and not stored in memory. If that's so, would it be easier to instead have a new function llGetInventoryLastOwner(string item) that would return the previous owner of the item and, thus, the key of the person who dropped it?
Thanks.
I do not beleive the last owner information is ever saved (and adding it would require an overhall to the inventory system; very unlikely to happen). Like i said in the on_rez thread, adding this paramater would require adding an entirely new event (as otherwise it would screw up ever script compiled before it was implemented).
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river. - Cyril Connolly
Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence. - James Nachtwey
|
|
Skippy Spectre
Registered User
Join date: 20 Aug 2005
Posts: 5
|
10-16-2005 09:09
So it can be done then. Excellent.
|