llGetParcelPrimCount
LSLinteger llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
Returns the number of prims on the parcel at Position of the given category.\ Categories: PARCEL_COUNT_TOTAL, _OWNER, _GROUP, _OTHER, _SELECTED, _TEMP.\ Returns the number of prims used on the parcel at Position which are in Category.\ If SimWide is TRUE, it returns the total number of objects for all parcels with matching ownership in the category specified.\ If SimWide is FALSE, it returns the number of objects on this specific parcel in the category specified
Parameters
| Type | Name |
|---|---|
| vector | pos |
| integer | category |
| integer | sim_wide |
The Linden Scripting Library — what every SL-compatible grid provides.