LlGetParcelPrimCount
De DigiWiki.
Version du 11 août 2012 à 15:12 par Djphil (discuter | contributions)
//gives prim usage information when touched. default { touch_start(integer total_number) { vector pos = llGetPos(); llSay(0, "There are " + (string)llGetParcelPrimCount(pos, PARCEL_COUNT_TOTAL, FALSE) + " total prims on this parcel"); llSay(0, (string)llGetParcelPrimCount(pos, PARCEL_COUNT_OWNER, FALSE) + " prims are owned by the parcel owner"); llSay(0, (string)llGetParcelPrimCount(pos, PARCEL_COUNT_GROUP, FALSE) + " prims set to or owned by the parcel's group."); llSay(0, (string)llGetParcelPrimCount(pos, PARCEL_COUNT_OTHER, FALSE) + " prims that are not set to the parcel group or owned by the parcel owner"); llSay(0, (string)llGetParcelPrimCount(pos, PARCEL_COUNT_SELECTED, FALSE) + " prims are selected"); llSay(0, (string)llGetParcelPrimCount(pos, PARCEL_COUNT_TEMP, FALSE) + " prims are temp-on-rez"); } }


