While active, the object with the given UUID can't be selected for editing or opened. Unlike @detach-style self-restrictions, the target doesn't have to be the issuing object: any object can protect any other.

Syntax

@editobj:<uuid>=<n|y>

Parameters

uuid
The root prim's key. The check is contains("editobj:" + root_uuid), so a child prim's key never matches.

Caveats

Examples

// A cage that can't be edited by its prisoner
llOwnerSay("@editobj:" + (string)llGetKey() + "=n");   // from an attachment: pass the cage's root key instead

See also

Implementation notes

RRInterface.cpp 6148: if (contains("editobj:" + object->getRootEdit()->getID().asString())) return false; inside canEdit().

Client differences

CoolVL's canEdit() returns true early when mContainsEdit is false (mkrlinterface.cpp 7289-7292). mContainsEdit is set only by @edit/@edit_sec. And when @edit is active without an exception for the object, editing is already refused. So in CoolVL @editobj only matters for an object that has an @edit:<uuid> exception, where it overrides that exception. Code reading; not tested in-world.

Comparison with RLVa

No significant differences from RLVa's @editobj.