31 July 2019
selection
optional parameter.18 August 2015
<data Commands>
Type: Corrade progressive command
Command[wiki]: getprimitiveshapedata
Description[wiki]: Corrade can query primitive shapes using the getprimitiveshapedata
command.
Permissions[wiki]: interact
Parameters[wiki]: group
, password
, item
, data
Last Changes[wiki]: Release 8.40 - added.
</data>
Corrade can query primitive shapes using the getprimitiveshapedata
command.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
getprimitiveshapedata | group , password , item , data | interact | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "getprimitiveshapedata", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "item", "Vendor", // searches in a 5m range "range", "5", // returns the material and primitive type "data", wasListToCSV( [ "Material", "PCode" ] ), "callback", wasURLEscape(URL) ] ) ); |
The data
parameter follows the ConstructionData structure and sub-structures.
Optional Parameter | Possible Value | Description |
---|---|---|
range | A range in meters. | The spherical distance from Corrade in which to locate the item. |
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.