Skip to content

llGetParcelPrimCount

Function Syntax
integer llGetParcelPrimCount(
  1. vector Position, // Region coordinates of parcel to query.
  2. integer Category, // A PARCEL_COUNT_* flag.
  3. integer SimWide // Boolean. If FALSE then the return is the maximum prims supported by the parcel. If TRUE then it is the combined number of prims on all parcels in the region owned by the specified parcel's owner.
);

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