LlGetPrice

From Second Life Wiki

Jump to: navigation, search
Image:Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Contents

Description

Function: integer llGetPrice( );
REQUEST Function ID
0.1 Delay
0.0 Energy

Returns price of the object that the script resides in or -1 if it's not for sale.

Returns an integer


Caveats

  • This function causes the script to sleep for 0.1 seconds.

Examples

integer price = llGetPrice();

Notes

This would greatly simplify vendors and also be useful for split-profit and varous types of sale-data scripts.

Personal tools