@setcam_focusoffset controls the camera focus offset used by RLVa's own camera preset: the point the camera looks at, relative to the avatar, in the avatar's local frame (meters), like the stock FocusOffsetRearView setting. It has two forms that work quite differently:

Syntax

@setcam_focusoffset:<x>/<y>/<z>=<n|y|add|rem>
@setcam_focusoffset[:<x>/<y>/<z>]=force

Parameters

value
three floats separated by / (parsed as doubles, %lf/%lf/%lf). The restriction form requires it; a missing or malformed value gives RLV_RET_FAILED_OPTION.

Specification

Caveats

Examples

llOwnerSay("@setcam_focusoffset:1/0/-0.5=n");   // hold
llOwnerSay("@setcam_focusoffset:1/0/-0.5=y");   // release (same option text)
llOwnerSay("@setcam_focusoffset:1/0/-0.5=force"); // one-off
llOwnerSay("@setcam_focusoffset=force");      // reset

See also

Implementation notes

Comparison with RLV

RLV has no equivalent of this command.