llGetParcelPrimCount
integer llGetParcelPrimCount(vector Position, integer Category, integer SimWide)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
-
Position(vector) - Region coordinates of parcel to query.
-
Category(integer) - A PARCEL_COUNT_* flag.
-
SimWide(integer) - 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.
Add example usage here.
Add additional notes, caveats, or tips here.
See Also
Section titled “See Also”- Related functions can be linked here