Set or Get the Avatar Z Offset

25 January 2020

  • C10 - added.

<data Commands> Type: Corrade progressive command Command[wiki]: avatarzoffset Parameters[wiki]: group, password Description[wiki]: The avatarzoffset command allows getting or setting the current avatar hover height (z-offset). Permissions[wiki]: grooming Last Changes[wiki]: C10 - added. </data>

The avatarzoffset command allows getting or setting the current avatar z offset.

Command Required Parameters Required Corrade Permissions Example
avatarzoffset group, password, action grooming
llInstantMessage(CORRADE, 
    wasKeyValueEncode(
        [
            "command", "avatarzoffset",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "action", "set",
            "offset", "2.0",
            "callback", wasURLEscape(callback)
        ]
    )
);
Parameter Possible Value Second Parameter Possible Value Description
action get Get the current avatar hover offset.
set offset A value usually in the range $[-2, 2]$ representing the offset in meters from the ground. Set the avatar hover offset.