1 January 2019
global
instead of position
to describe any simulator and parcel on the grid.25 February 2017
13 September 2016
getremoteparcelinfodata (Commands) | |
---|---|
Type | Corrade progressive command |
Command | getremoteparcelinfodata |
Description | The getremoteparcelinfodata command can be used to query a parcel on a remote simulator given a global (grid) position by following the ParcelInfo structure. |
Permissions | land |
Parameters | group , password , data , global |
Last Changes | C10 - the command now takes global instead of position to describe any simulator and parcel on the grid. |
The getremoteparcelinfodata
command can be used to query a parcel on a remote simulator given a global (grid) position by following the ParcelInfo structure.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
getremoteparcelinfodata | group , password , data , global | land | llInstantMessage(CORRADE, wasKeyValueEncode( [ // gets the UUID of the texture // of the parcel snapshot and // the traffic score from a parcel // on a region at grid position: // X = 255360.35 and Y = 255360.35 "command", "getremoteparcelinfodata", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "global", wasURLEscape(<255360.35, 255360.35, 0>), "data", wasListToCSV( [ "SnapshotID", "Dwell" ] ), "callback", wasURLEscape(URL) ] ) ); |
Optional Parameters | Possible Value | Description |
---|---|---|
global | A vector. | A global position, or, if not specified, the requested parcel is the one that Corrade is currently on. |
x
and y
components of the vector passed to position
to be global coordinates. Note that the z
component is ignored.getremoteparcelinfodata
can be used to query a remote parcel, however, the object retrieved is a ParcelInfo structure such that the command could prove useful to retrieve a remote simulator name from a global position (in order to be used with other commands).global
parameter.