@fartouch=n limits the user's reach: objects further away than the "Fartouch Distance" (1.5 m by default) cannot be touched, sat on, selected, edited from the world or used as a rez target. An optional numeric option sets a different distance.
@fartouch[:<distance>]=<n|add>
@fartouch[:<distance>]=<y|rem>
@touchfar[:<distance>]=... synonym
std::stof, so leading numeric text is accepted). To remove a restriction added with a distance, repeat the same option with =y.RLV_OPTION_NONE_OR_MODIFIER. Both forms are reference-counted restrictions. The plain form adds the default 1.5 m value to the modifier; the option form adds its own value. The modifier uses a "minimum" comparator, so the smallest distance requested by any object wins: an object asking for @fartouch:10=n gets 1.5 m if another object holds plain @fartouch=n.lltoolselect.cpp) but not from the touch check (canTouch applies the distance to rezzed objects and to other avatars' attachments only; own non-HUD attachments are not distance-checked there).<=, sitting uses strict <.canTouch), left-click actions, hover cursor and tooltips (canInteract), sitting by click (canSit, but not @sit:<uuid>=force), selecting/editing in-world objects, drag-rezzing onto a far surface (lltoolplacer.cpp), auto-deselect when moving out of range while in edit mode (llselectmgr.cpp), the context menu on an empty selection, pathfinding floaters, and the selection pick's far clip plane (llviewercamera.cpp)._sec form.llOwnerSay("@fartouch=n"); // 1.5 m reach
llOwnerSay("@fartouch:3=n"); // ask for 3 m (still 1.5 m while the line above is active)
llOwnerSay("@fartouch:3=y"); // remove the 3 m request
@touchfar is registered as a BHVR_SYNONYM of @fartouch with the same option type; both map to RLV_BHVR_FARTOUCH. @getstatus reports the name as the object typed it.@fartouch:<distance>=force form does not exist: =force on a NONE_OR_MODIFIER behavior is only for local modifiers, and fartouch has none.rlvhelper.cpp 115-116 (RlvBehaviourModifier("Fartouch Distance", RLV_MODIFIER_FARTOUCH_DEFAULT, true, new RlvBehaviourModifierCompMin)), synonym at 177; default 1.5 at rlvdefines.h 87.rlvhandler.cpp 1828-1892. Comparator: rlvmodifiers.h 56-64.rlvactions.cpp 485-498 (canInteract), 535-553 (canSit), 568-650 (canTouch); plus lltoolselect.cpp 101-112, lltoolplacer.cpp 169-177, llselectmgr.cpp 5208-5230, llglsandbox.cpp 175-180, lltoolpie.cpp 2425-2428 and 2509-2512, llviewercamera.cpp 344-348.This command works differently from RLV's @fartouch; see the comparison.