Difference between revisions of "LlGetPrice"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{LSL_Function|func_id|func_sleep=0.1|func_energy=0.0|func=llGetPrice|sort=GetPrice|func_desc=Returns price of the object that the script resides in or -1 if it's not for sale. | {{LSL_Function|func_id|func_sleep=0.1|func_energy=0.0|func=llGetPrice|sort=GetPrice|func_desc=Returns price of the object that the script resides in or -1 if it's not for sale. | ||
|return_text|spec|caveats|examples=integer price = llGetPrice();|helpers|related|also|notes=This would greatly simplify vendors and also be useful for split-profit and varous types of sale-data scripts.|mode=request}} | |return_type=integer|return_text|spec|caveats|examples=integer price = llGetPrice();|helpers|related|also|notes=This would greatly simplify vendors and also be useful for split-profit and varous types of sale-data scripts.|mode=request}} |
Latest revision as of 01:29, 1 May 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
LSL Feature Request | |
The described function does not exist. This article is a feature request. |
Summary
Function: integer llGetPrice( );REQUEST | Function ID |
0.1 | Forced 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
Examples
integer price = llGetPrice();
Notes
This would greatly simplify vendors and also be useful for split-profit and varous types of sale-data scripts.