31 July 2019
selection
optional parameter.6 March 2019
batchattachobject (Commands) | |
---|---|
Type | Corrade progressive command |
Command | batchattachobject |
Description | The batchattachobject command allows Corrade to attach multiple in-world primitives. |
Permissions | inventory |
Parameters | group , password , attachments |
Last Changes | C10 - Added. |
The batchattachobject
command allows Corrade to attach multiple in-world primitives.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
batchattachobject | group , password , attachments | inventory | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "batchattachobject", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "attachments", wasListToCSV( [ "Skull", "helmet", "Mouth", "cigar" ] ) ] ) ); |
The command returns a list of inventory UUID corresponding to the primitives that have been successfully attached. 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 |
Optional Parameter | Possible Value | Description |
---|---|---|
range | A range in meters. | The spherical distance from Corrade in which to locate the item. |
rotation | A quaternion | The rotation to apply to the attached primitive once it has been attached. |
selection | attached , rezzed or all (default: all ) | Either attached , rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively. |