Difference between revisions of "User:Trinity Coulter/LlGetMoneyLimits"
Jump to navigation
Jump to search
m (New page: {{LSL Function |func_id=259|func_sleep=0.2|func_energy=10.0|func=llGetMoneyLimits|sort=GetMoneyLimits |return_type=list|p1_type=list|p1_name=limits |func_desc=Gets the specific object or p...) |
m (still working on it) |
||
Line 7: | Line 7: | ||
|constants={{LSL Constants/MoneyLimits|get}} | |constants={{LSL Constants/MoneyLimits|get}} | ||
|examples=<lsl> | |examples=<lsl> | ||
// Gets the overall money limit allowed to be paid out of the prim/object, -1 = limited to amount paid in, 0 = unlimited, other non-negative numbers would be a hard limit | // Gets the overall money limit allowed to be paid out of the prim/object, | ||
// -1 = limited to amount paid in, 0 = unlimited, other non-negative numbers | |||
// would be a hard limit | |||
list moneylimits = llGetMoneyLimits([MONEY_LIMIT_CREDIT_OVERALL]); | list moneylimits = llGetMoneyLimits([MONEY_LIMIT_CREDIT_OVERALL]); | ||
MONEY_LIMIT_GROUP_PERIOD | MONEY_LIMIT_GROUP_PERIOD | ||
MONEY_LIMIT_OWNER_PERIOD | MONEY_LIMIT_OWNER_PERIOD |
Revision as of 12:33, 13 September 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: list llGetMoneyLimits( list limits );259 | Function ID |
0.2 | Forced Delay |
10.0 | Energy |
Gets the specific object or prim money transaction limitations found in the list limits. Empty list to return all active limitations.
Returns a list
• list | limits |
Template:LSL Constants/MoneyLimits
Caveats
Examples
<lsl> // Gets the overall money limit allowed to be paid out of the prim/object, // -1 = limited to amount paid in, 0 = unlimited, other non-negative numbers // would be a hard limit list moneylimits = llGetMoneyLimits([MONEY_LIMIT_CREDIT_OVERALL]);
MONEY_LIMIT_GROUP_PERIOD MONEY_LIMIT_OWNER_PERIOD MONEY_LIMIT_CREDIT_OVERALL MONEY_LIMIT_DEBIT_OVERALL
// To render on side 3 // the picture with the UUID... </lsl>
Trinity Coulter 12:22, 13 September 2008 (PDT)Notes
The old PRIM_TYPE interface (labeled PRIM_TYPE_LEGACY) while technical retired can still be used.
See Also
Functions
• | llGetPrimitiveParams | – | Get many primitive parameters | |
• | llSetLinkPrimitiveParams | – | Set parameters on other prims in linkset | |
• | llSetAlpha | – | Simpler way to set alpha (transparency) | |
• | llSetTexture | – | Simpler way to set texture | |
• | llSetColor | – | Simpler way to set color |