6 March 2019

The attachobject command allows Corrade to attach an in-world primitive.

CommandRequired ParametersRequired Corrade PermissionsExample
attachobjectgroup, password, iteminventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "attachobject",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "callback", wasURLEscape(URL),
            // Or by name. . .
            "item", "d065ba4f-64ca-0e1b-cf9a-316e2bbc77fe",
            "slot", "Skull"
        ]
    )
);

The command returns the inventory UUID of the attached object on successful termination. Here is a full list of attachment points:

PointDescription
DefaultRight hand if object was not previously attached
ChestChest
SkullSkull
LeftShoulderLeft shoulder
RightShoulderRight shoulder
LeftHandLeft hand
RightHandRight hand
LeftFootLeft foot
RightFootRight foot
SpineSpine
PelvisPelvis
MouthMouth
ChinChin
LeftEarLeft ear
RightEarRight ear
LeftEyeballLeft eyeball
RightEyeballRight eyeball
NoseNose
RightUpperArmRight upper arm
RightForearmRight forearm
LeftUpperArmLeft upper arm
LeftForearmLeft forearm
RightHipRight hip
RightUpperLegRight upper leg
RightLowerLegRight lower leg
LeftHipLeft hip
LeftUpperLegLeft upper leg
LeftLowerLegLeft lower leg
StomachStomach
LeftPecLeft pectoral
RightPecRight pectoral
HUDCenter2HUD Center position 2
HUDTopRightHUD Top-right
HUDTopHUD Top
HUDTopLeftHUD Top-left
HUDCenterHUD Center
HUDBottomLeftHUD Bottom-left
HUDBottomHUD Bottom
HUDBottomRightHUD Bottom-right
NeckNeck
RootAvatar Center
Optional ParameterPossible ValueDescription
rangeA range in meters.The spherical distance from Corrade in which to locate the item.
rotationA quaternionThe rotation to apply to the attached primitive once it has been attached.

Notes