Don't click here unless you want to be banned.

LSL Wiki : llGetParcelMaxPrims

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawling22.us.archive.org
integer llGetParcelMaxPrims(vector pos, integer sim_wide)

Returns the maximum number of prims allowed on the parcel at pos.

If sim_wide is TRUE, it returns the maximum number of prims allowed in the sim.
If sim_wide is FALSE, it returns the maximum number of prims this individual parcel supports.

Added in SL 1.12.4; released in 1.13.0

This function seems to return the value without taking the Region object bonus factor into account. -- AtteAderdeen


Functions | Land
Comments [Hide comments/form]
The function appears to now recognize bonus factors. I have noticed in some cases that the function can report inaccurately +/- one primitive.
-- GryndalMassey (2007-09-21 06:12:00)
This is due to rounding errors. If you do the math yourself you'll notice that the prim counts in the about land tab always round down. If a given area of land with a given object bonus should give you x.9 prims mathmatically, you will receive x. This function appears to round up.
-- StPsaltery (2007-09-30 16:59:44)
Attach a comment to this page: