6 October 2016
attach (Commands) | |
---|---|
Type | Corrade progressive command |
Command | attach |
Description | The attach command allows Corrade to attach multiple (or only one) objects from inventory to their attachment points. |
Permissions | grooming |
Parameters | group , password , attachments |
Last Changes | Release 9.133 - The command now can take a path instead of a name. |
The attach
command allows Corrade to attach multiple (or only one) objects from inventory to their attachment points.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
attach | group , password , attachments | grooming | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "attach", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // skull, mouth are attachment points (see documentation) // Helmet and Milk Bottle are object names in the inventory // ... You can also use UUIDs for inventory items. "attachments", wasListToCSV( [ "Skull", "/My Inventory/Objects/Helmet", "Mouth", "/My Inventory/Fun Stuff/Milk Bottle" ] ) ] ) ); |
The attachment
parameter accepts pairs of attachment points and object in inventory. Here is a full list of attachment points:
Point | Description |
---|---|
Default | Right hand if object was not previously attached |
Chest | Chest |
Skull | Skull |
LeftShoulder | Left shoulder |
RightShoulder | Right shoulder |
LeftHand | Left hand |
RightHand | Right hand |
LeftFoot | Left foot |
RightFoot | Right foot |
Spine | Spine |
Pelvis | Pelvis |
Mouth | Mouth |
Chin | Chin |
LeftEar | Left ear |
RightEar | Right ear |
LeftEyeball | Left eyeball |
RightEyeball | Right eyeball |
Nose | Nose |
RightUpperArm | Right upper arm |
RightForearm | Right forearm |
LeftUpperArm | Left upper arm |
LeftForearm | Left forearm |
RightHip | Right hip |
RightUpperLeg | Right upper leg |
RightLowerLeg | Right lower leg |
LeftHip | Left hip |
LeftUpperLeg | Left upper leg |
LeftLowerLeg | Left lower leg |
Stomach | Stomach |
LeftPec | Left pectoral |
RightPec | Right pectoral |
HUDCenter2 | HUD Center position 2 |
HUDTopRight | HUD Top-right |
HUDTop | HUD Top |
HUDTopLeft | HUD Top-left |
HUDCenter | HUD Center |
HUDBottomLeft | HUD Bottom-left |
HUDBottom | HUD Bottom |
HUDBottomRight | HUD Bottom-right |
Neck | Neck |
Root | Avatar Center |