@touchfar=n limits how far away the user can reach. Objects beyond the limit (1.5 m by default, or the distance given) can't be touched or grabbed. The spec calls it a synonym of @fartouch. In the code they are two separate behaviors: the viewer takes the smallest distance among all @fartouch and @touchfar restrictions currently in force.

Syntax

@touchfar=<n|y>
@touchfar:<max_distance>=<n|y>

Parameters

max_distance
A distance in meters, parsed with atof. With no option, 1.5 is used. Text that isn't a number gives 0.

Caveats

Examples

llOwnerSay("@touchfar:3=n");   // can reach up to 3 m

Implementation notes

Client differences

See also

Comparison with RLVa

This command works differently from RLVa's @touchfar; see the comparison.