Get the Pay Price Buttons for a Primitive

31 July 2019

  • C10 - added the selection optional parameter.

6 August 2015

  • Release 8.30 - added.
getprimitivepayprices (Commands)
TypeCorrade progressive command
Commandgetprimitivepayprices
DescriptionThe getprimitivepayprices command can be used to query the set pay prices for a primitive (commonly, those are the pay buttons that you find in the pop-up floater when you click to buy an object).
Permissionsinteract
Parametersgroup, password, item
Last ChangesRelease 8.30 - added.

The getprimitivepayprices command can be used to query the set pay prices for a primitive (commonly, those are the pay buttons that you find in the pop-up floater when you click to buy an object).

Command Required Parameters Required Corrade Permissions Example
getprimitivepayprices group, password, item interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Get the primitive pay prices for
            // an item by UUID that is in a 5
            // meters range from Corrade and
            // send the result to the callback.
            "command", "getprimitivepayprices",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "desk",
            "range", "4",
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.

The command returns a CSV list of pay-prices that are usually to be found on the floater pop-up of a purchasable item with the default price (the price that the buyer requests) being placed first in the CSV list.

Notes