@getcam_avdistmin=<channel> replies with the minimum camera distance currently enforced through @setcam_avdistmin (and its deprecated synonym @camdistmin).

Syntax

@getcam_avdistmin=<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 when no object has set one. When several objects set a minimum, the largest wins (the modifier uses a maximum comparator).

Caveats

Examples

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

Implementation notes

See also

Comparison with RLV

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