@camdrawcolor sets the color of the vision spheres drawn by @camdrawmin/@camdrawmax (default black). It has no visible effect unless one of those is also in force.

Syntax

@camdrawcolor:<red>;<green>;<blue>=<y/n>

Parameters

red, green, blue
Components from 0.0 to 1.0, separated by semicolons. Missing components count as 0 (empty components are dropped before padding, so 1;;1 reads as 1, 1, 0). Values are not clamped.

Specification

Examples

// Reddish fog
llOwnerSay("@camdrawmin:1=n,camdrawmax:3=n,camdrawcolor:0.4;0;0=n");

Notes

Spec discrepancies

See also

Implementation notes

Client differences

CoolVL uses the same multiplication (mkrlinterface.cpp:1074-1106), but its parse() (:1675-1700) does not pad to three tokens, so an option with fewer than three non-empty components indexes past the end of the token list. This is undefined behavior (garbage values or a crash); always send all three components.

Comparison with RLVa

RLVa has no equivalent of this command; see the comparison.