@addattach prevents anything new from being attached. With an attachment point name it applies to that point only;
without an option it applies to every point (including HUD points). Objects already on the point are not affected: they can still be
detached (use @remattach or @detach to keep them on). It is the attachment
counterpart of @addoutfit.
@addattach[:<attach_point_name>]=<y/n> (also =add / =rem)
chest,
skull, l forearm, center 2… In Marine's viewer root also matches the
Avatar Center point. Unknown names are accepted and stored but match nothing.llAttachToAvatar() call, an attach whose destination could not be
predicted from its name, a server-side attach) is checked when the object actually lands on the point: if the point is restricted, the
object is removed from the outfit and a detach is sent immediately. A @notify listener sees
attached illegally <point>.@addattach (with or without option) switches on the viewer's generic “something is locked” flag (the same one
@detach and @remattach use). Side effects include refusing to wear a whole folder by drag-and-drop onto the avatar and refusing
“replace” attaches of objects whose name lacks a point.llAttachToAvatarTemp() go through the same landing check. Not confirmed in-world.// Keep the mouth free: no gags or other mouth attachments
llOwnerSay("@addattach:mouth=n");
// Nothing new may be attached anywhere
llOwnerSay("@addattach=n");
RRInterface::canAttachWithExplanation() RRInterface.cpp:6101-6123 (point name, “avatar center” ↔
addattach:root, then folder locks) and canAttach(LLInventoryItem*) :6125-6140 (point derived from the
item name). New-item exemption: isInventoryItemNew() :6216-6236.llviewerjointattachment.cpp:247-300, gated on mGarbageCollectorCalledOnce and skipping
reattaches.refreshCachedVariable() RRInterface.cpp:411-421 sets mContainsDetach for any
addattach….llinventorybridge.cpp:7555-7585, llviewermenu.cpp:8195, llappearancemgr.cpp:1586-1600.mkrlinterface.cpp:7184-7237) has no root ↔ “avatar center” special case in canAttach; its
attachment-point lookup calls the Avatar Center point root instead.llviewerjointattachment.cpp:220-265) applies to every attach on the point, without Marine's
was_empty test (which only skips re-adding the very same object).No significant differences from RLVa's @addattach.