LlGetParcelMaxPrims
From Second Life Wiki
Second Life Wiki > LSL Portal > Built-in Functions > LlGetParcelMaxPrims (Redirected from LSL llGetParcelMaxPrims)
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Description
Function: integer llGetParcelMaxPrims( vector pos, integer sim_wide );| 326 | Function ID |
| 0.0 | Delay |
| 10.0 | Energy |
Returns an integer that is the maximum number of prims allowed on the parcel at pos.
| • vector | pos | – | region coordinate (z component is ignored) | |
| • integer | sim_wide | – | Boolean |
Examples
default { touch_start(integer total_number) { llSay(0, "There are " + (string)llGetParcelPrimCount(llGetPos(), PARCEL_COUNT_TOTAL, FALSE) +" of " +(string)llGetParcelMaxPrims(llGetPos(), FALSE) + " prims rezzed on this parcel"); } }
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

