@getcam_fovmax=<channel> replies with the maximum field of view, in radians, currently enforced through @setcam_fovmax.

Syntax

@getcam_fovmax=<channel>

Parameters

channel
Positive integer chat channel for the reply (channel 0 is accepted only from the RLVa console; DEBUG_CHANNEL is refused).

Return value

The effective modifier value with three decimals, or an empty string. With several objects the smallest maximum wins.

Caveats

Examples

integer CH = 5151;
default
{
    state_entry()
    {
        llListen(CH, "", llGetOwner(), "");
        llOwnerSay("@getcam_fovmax=" + (string)CH);
    }
    listen(integer c, string n, key id, string msg)
    {
        llOwnerSay("getcam_fovmax: '" + msg + "'");
    }
}

Implementation notes

See also

Comparison with RLV

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

Related: RLV's @getcam_zoommin; see the comparison.