Set or Get the Avatar Z Offset

25 January 2020

  • C10 - added.
avatarzoffset (Commands)
TypeCorrade progressive command
Commandavatarzoffset
Parametersgroup, password
DescriptionThe avatarzoffset command allows getting or setting the current avatar hover height (z-offset).
Permissionsgrooming
Last ChangesC10 - added.

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.