@setcam_avdist:<distance>=n makes every other avatar farther than distance meters from you render as a silhouette (the impostor/"jelly" path of the avatar renderer) instead of fully.

Syntax

@setcam_avdist:<distance>=<n|y|add|rem>
@camavdist:<distance>=<n|y>      (deprecated synonym)

Parameters

distance
Required float, meters (std::stof). Missing or non-numeric options fail with RLV_RET_FAILED_OPTION.

Specification

Several objects: each object's value is kept separately (keyed by object and option text) and one value is chosen as the effective one: the largest distance wins (the comparator sorts descending), so the least restrictive object decides. Removing the restriction needs the same option text with =y; an object's values are also dropped when it releases all its restrictions.

Under @setcam: when an object holds @setcam it becomes the "primary object" for all camera modifiers, and its own value takes precedence over values from other objects, whatever the normal min/max ordering would say.

Caveats

Examples

llOwnerSay("@setcam_avdist:5=n");

See also

Implementation notes

Comparison with RLV

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