Forgot? Join

Scripting

LSL Guide

Every script function this grid actually runs, read straight from the region software rather than copied from a wiki — including the wolf* functions that exist only here.

Functions · Constants

llGetParcelPrimCount

LSL
integer 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

TypeName
vector pos
integer category
integer sim_wide
Energy 10

The Linden Scripting Library — what every SL-compatible grid provides.

More in LSL