This is a deprecated synonym (BHVR_SYNONYM | BHVR_DEPRECATED). It still works and has exactly the same effect as @setcam_avdistmax. New scripts should use the setcam_* name.

While the restriction is active, the camera can't be moved further from your avatar's head than distance meters in third-person or follow camera mode.

Syntax

@camdistmax:<distance>=<n|add|y|rem>

Parameters

distance (required)
A float, in meters (RLV_OPTION_MODIFIER). The bare form fails.

Caveats

Examples

llOwnerSay("@camdistmax:5=n"); // camera can't go further than 5 m from the head
// Pin the camera at 3 m:
llOwnerSay("@camdistmin:3=n,camdistmax:3=n");

Implementation notes

See also

Comparison with RLV

This command works differently from RLV's @camdistmax; see the comparison.