@setcam_origindistmax:<distance>=n clamps how far the camera can be from its origin: the default camera focus point (the avatar's frame center plus head offset plus the scaled preset eye offset). It applies in third-person and follow modes.
This is an experimental RLVa command. It exists only while the viewer setting RLVaExperimentalCommands is enabled (the default is on); the setting is read when the behavior dictionary is built at start-up.
@setcam_origindistmax:<distance>=<n|y|add|rem>
Several objects: each object's value is kept separately (keyed by object and option text) and one value is chosen as the effective one: the smallest maximum wins. Removing the restriction needs the same option text with =y; an object's values are also dropped when it releases all its restrictions.
Under @setcam: when an object holds @setcam it becomes the "primary object" for all camera modifiers, and its own value takes precedence over values from other objects, whatever the normal min/max ordering would say.
llOwnerSay("@setcam_origindistmax:5=n");
RlvBehaviourGenericProcessor<RLV_OPTION_MODIFIER>("setcam_origindistmax", …, BHVR_EXPERIMENTAL) + modifier "Camera - Focus Distance (Max)" (default F32_MAX, CompMin), rlvhelper.cpp:205-206.rlvactions.cpp:94-107; clamp llagentcamera.cpp:2176-2207.RLV has no equivalent of this command.