This is a deprecated synonym (BHVR_SYNONYM | BHVR_DEPRECATED). It still works and has exactly the same effect as @setcam_avdistmin. New scripts should use the setcam_* name.
While the restriction is active, the camera can't be moved closer to your avatar's head than distance meters in third-person or follow camera mode. A minimum above 0 also blocks mouselook, and if you're in mouselook when the value changes, the camera is switched back to third person.
@camdistmin:<distance>=<n|add|y|rem>
RLV_OPTION_MODIFIER). The bare form fails.RlvBehaviourModifierCompMax). If an object holds @setcam, only its values count.setcam_avdistmin is in the experimental set, but this synonym is not. The modifier is registered separately from the entry, so @camdistmin keeps working even with RLVaExperimentalCommands off. In that case the canonical name doesn't.llOwnerSay("@camdistmin:2=n"); // keep the camera at least 2 m away
RLV_BHVR_SETCAM_AVDISTMIN (rlvhelper.cpp:223). The modifier entry ("Camera - Avatar Distance (Min)", default 0) is at rlvhelper.cpp:199-200. Note that addModifier() isn't subject to the experimental filter in addEntry() (rlvhelper.cpp:376-404).RlvActions::getCameraAvatarDistanceLimits() (rlvactions.cpp:79-92) is used in LLAgentCamera::calcCameraPositionTargetGlobal() (llagentcamera.cpp:2175-2212). Distance is measured from the avatar's head joint.RlvActions::canChangeToMouselook() (rlvactions.cpp:49-58). Value-change handler: rlvhandler.cpp:2284-2290.No significant differences from RLV's @camdistmin.