While active, @camzoommin stops the user from zooming the camera out (Ctrl-8, which widens the field of view) past a minimum zoom multiplier. A multiplier of 1.0 is the viewer's default 60° vertical field of view. A multiplier of 2.0 gives 30°, so a minimum of 2.0 keeps the view at 30° or narrower.

Syntax

@camzoommin[:<min_multiplier>]=<n|y>

add and rem work in place of n and y, as for every restriction.

Parameters

min_multiplier
A float, parsed with atof(). Text that isn't a number gives 0, and 0 means "no limit" (see Caveats). If the option is left out, the viewer uses 1.5, the default every RLV numeric restriction gets when called without a value.

Caveats

Examples

// Keep the view at 30 degrees or narrower (zoom x2 or more)
llOwnerSay("@camzoommin:2=n");

// Lift it again
llOwnerSay("@camzoommin:2=y");

To remove the restriction, =y must repeat the same option string, because the stored restriction is camzoommin:2.

See also

Implementation notes

Client differences

No differences found between Marine's RLV and CoolVL in how @camzoommin is parsed or enforced. CoolVL re-applies setDefaultFOV() from refreshCachedVariable() as well as from add() (mkrlinterface.cpp 730-733 and 1455-1466), so the snap also happens on removal there. On removal this has no visible effect, because the stored angle is already inside the remaining limits. CoolVL lists camzoommin in its blacklistable camera commands (mkrlinterface.cpp 518). Marine's blacklist is disabled.

Comparison with RLVa

This command works differently from RLVa's @camzoommin; see the comparison.