@setcam=n lets a single object take exclusive control of the camera. While it is held:
@setcam (RLV_RET_FAILED_LOCK);setcam_avdist, setcam_avdistmin/max, setcam_origindistmin/max, setcam_eyeoffset, setcam_eyeoffsetscale, setcam_focusoffset, setcam_fovmin/max, setcam_textures): the holder's values take precedence;setcam_eyeoffset/eyeoffsetscale/focusoffset=force commands;CAMERA_RLV_SETCAM_VIEW) and the user cannot select another preset. The previous preset is restored when the lock goes away.@setcam=<n|y|add|rem>
@setcam=n a second time also gets RLV_RET_FAILED_LOCK rather than a duplicate result. This is harmless: the restriction stays in place.@setcam on its own does not restrict anything beyond the preset lock; the actual limits come from the other setcam_* behaviors.llOwnerSay("@setcam=n,setcam_avdistmax:3=n,setcam_unlock=n");
RlvBehaviourGenericToggleProcessor<RLV_BHVR_SETCAM, RLV_OPTION_NONE>("setcam"), rlvhelper.cpp:196.rlvhandler.cpp:496-502. Toggle handler (primary object, @setcam_unlock recount, preset): rlvhandler.cpp:2439-2482; setCameraOverride: rlvhandler.cpp:892-908.rlvmodifiers.h:39-74. Preset lock: llagentcamera.cpp:2785-2795, llfloatercamera.cpp:858-864; checks rlvactions.cpp:35-78.RLV has no equivalent of this command.