@camzoommax is a deprecated (BHVR_DEPRECATED, but not a plain synonym) command that RLVa maps onto the field-of-view clamp used by @setcam_fovmax. The option is a zoom multiplier m. RLVa converts it to an angle of DEFAULT_FIELD_OF_VIEW / m (the default vertical FOV is 60°, about 1.047 radians) and adds that as a maximum FOV.

A maximum FOV caps how far you can zoom out: @camzoommax:0.5=n keeps the FOV at 120° or less. Despite the name, then, camzoommax limits minimum zoom.

Syntax

@camzoommax=<n|add|y|rem>
@camzoommax:<multiplier>=<n|add|y|rem>

Parameters

multiplier (optional)
A float. The default is 1.0 (FOV maximum of 60°). It isn't range-checked: a value of 0 divides by zero, and a negative value gives a negative angle.

Caveats

Examples

llOwnerSay("@camzoommax:0.5=n");
// Preferred modern form (angle in radians):
llOwnerSay("@setcam_fovmax:2.094=n");

Implementation notes

See also

Comparison with RLV

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