In both viewers @setcam_avdistmax (and its older name @camdistmax) keeps the camera within a distance of the avatar in third-person view, and the smallest value from all objects wins. How a zero limit, a missing option and other camera limits are handled differs.

Differences

AspectRLV (Marine)RLVa (Firestorm)
Limit of 0 (or less)Forces mouselook and keeps the user in it; a common way to lock mouselook.Clamps the third-person camera to the head; does not force mouselook. RLVa uses @setcam_mode:mouselook=force and @setcam_mouselook for mouselook control.
Option omittedCounts as 1.5 m.Fails: the distance is required.
Measured fromA reference joint: the head by default, selectable in the RLV debug menu.The avatar's head.
Interaction with other limitsLowered to 75% of the vision-sphere radius when @camdraw* spheres are active; a larger minimum is lowered to it.Ignored while any @setcam_origindistmin/max limit is set, unless min and max are equal (then the camera is slammed to that distance).
@setcam holderNo such concept.An object holding @setcam has its own value take precedence over all others.
FlycamSwitched off.Not mentioned.

Notes

See also