CHANGED_OWNER
constant
Constant
integer CHANGED_OWNER = 0x80;Constant groups
Other ChangeType values (12)
CHANGED_ALLOWED_DROP0x40CHANGED_COLOR0x2CHANGED_INVENTORY0x1CHANGED_LINK0x20CHANGED_MEDIA0x800CHANGED_REGION0x100CHANGED_REGION_START0x400CHANGED_RENDER_MATERIAL0x1000CHANGED_SCALE0x8CHANGED_SHAPE0x4CHANGED_TELEPORT0x200CHANGED_TEXTURE0x10
The object has changed owners. This event occurs in the original object when a user takes it or takes a copy of it or when the owner deeds it to a group. The event occurs in the new object when it is first rezzed.
Counter-intuitively, this event also occurs in the original object when it is purchased or a copy of it is purchased (although the original object does not in fact change owner). The event does not occur in the original object when its contents are purchased.
Examples
Section titled “Examples”Example 1
default{ changed(integer change) { if (change & CHANGED_OWNER) //note that it's & and not &&... it's bitwise! { llOwnerSay("The owner of the object has changed."); } }}Known issues
Section titled “Known issues”- VWR-12880:
CHANGED_OWNERin LSL script always triggered when detaching and attaching again an object
See also
Section titled “See also”Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.