@touchme=add lets the object that sends it be touched despite any touch restriction: @touchall, @touchworld, the attachment and HUD restrictions, @touchthis and the reach limit. It takes no key; it always applies to the sender itself.
@touchme=<add|rem>
canTouch() looks the exception up under the root prim of the object clicked. The command is recorded under the key of the prim that sent it, so it must be sent from a script in the root prim. A @touchme sent from a child prim will not take effect.touchme is stored as a restriction owned by the object, the garbage collector removes it once the object is gone. While it is in place, the object also counts as an "RLV restricting" object (for example in @getstatus).=n/=y work the same as =add/=rem.// In a collar's root prim: stay clickable even under @touchall/@touchattachself
default
{
attach(key id) { if (id) llOwnerSay("@touchme=add"); }
}
Marine: the first test in canTouch() is if (!isAllowed(rootID, "touchme")) return true; (RRInterface.cpp:6153-6164). isAllowed (RRInterface.cpp:854-879) returns false when that object holds the given behavior, so the presence of touchme on the root object grants the touch.
No differences found between Marine's RLV and CoolVL (CoolVL: mkrlinterface.cpp:7317-7336).
This command works differently from RLVa's @touchme; see the comparison.