@setcam_avdistmin:<distance>=n keeps the camera at least distance meters from your avatar's head while in third-person or follow mode.
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_avdistmin:<distance>=<n|y|add|rem>
@camdistmin:<distance>=<n|y> (deprecated synonym)
How the clamp works (third-person and follow camera modes only):
setcam_avdistmin/max) is measured from your avatar's head. Origin distance (setcam_origindistmin/max) is measured from the default camera focus point.Several objects: each object's value is kept separately (keyed by object and option text) and one value is chosen as the effective one: largest minimum 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.
camdistmin is not flagged experimental, so it keeps working even when RLVaExperimentalCommands is off and setcam_avdistmin is not available.llOwnerSay("@setcam_avdistmin:2=n");
RlvBehaviourGenericProcessor<RLV_OPTION_MODIFIER>("setcam_avdistmin", …, BHVR_EXPERIMENTAL) with modifier "Camera - Avatar Distance (Min)" (default 0, no auto-add, CompMax; handler kicks out of mouselook), rlvhelper.cpp:199-200; synonym rlvhelper.cpp:223.RlvActions::getCameraAvatarDistanceLimits, rlvactions.cpp:79-92; clamp in llagentcamera.cpp:2176-2207; focus guard llagentcamera.cpp:2235-2250. Mouselook: rlvactions.cpp:48-57, rlvhandler.cpp:2284-2290, llagentcamera.cpp:2490-2493.No significant differences from RLV's @setcam_avdistmin.