Jump to content

Detect user Edit of object?


Domitan Redenblack
 Share

You are about to reply to a thread that has been inactive for 4334 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

In this specific case, I think the script could get a CHANGED_INVENTORY event, so it wouldn't have to sample at intervals.

(There's a messy complexity even for this simple case, where a CHANGED_INVENTORY event would fire for the insertion of a script, which script would then remove the target contents without generating a changed() event.)

Anyway, the script couldn't tell who, specifically, made the change -- although in practice that may not matter because, except for shared-with-group items, only the object owner is permitted to make such changes (and anybody else the owner has authorized to change their stuff).

Link to comment
Share on other sites

changed event indeed would not trigger when a user starts or stops object editing but it will always trigger on content removal and /or addition. It would even trigger if the content permissions are changed. There are no miracles in the SL world, if the event does not trigger the problem is in your code. For instance if a script is changing states, changed event must be included in every state.

Link to comment
Share on other sites


Ela Talaj wrote:

changed event indeed would not trigger when a user starts or stops object editing but it will always trigger on content removal and /or addition. It would even trigger if the content permissions are changed. There are no miracles in the SL world, if the event does not trigger the problem is in your code. For instance if a script is changing states, changed event must be included in every state.

Yes, you are right. Not sure why it did not do it the first times I tried it. Perhaps scripts needed to be reset 10 times or some such, or LL servers were slow, etc

Works fine now. When you add or remove contents, the event is triggered fine.

 

ty!

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4334 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...