@camdistmax keeps the camera within a given distance of the avatar. A value of 0 forces Mouselook. @setcam_avdistmax is a synonym: both names feed the same limit.

Syntax

@camdistmax:<distance_m>=<y/n>

Parameters

distance_m
Distance in meters, measured from the reference joint (the head in Mouselook; otherwise the joint chosen by the user in the viewer's RLV menu, default head).

Specification

Caveats

Examples

llOwnerSay("@camdistmax:2=n");   // camera no further than 2 m
llOwnerSay("@camdistmax:0=n");   // Mouselook only

See also

Implementation notes

Client differences

Comparison with RLVa

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