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


secondlife/scripted_agents/corrade/api/commands/getprimitivepayprices.txt ยท Last modified: 2022/11/24 07:46 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.