llGetParcelMaxPrims

From Second Life Wiki
Revision as of 08:58, 17 February 2008 by Anthony Reisman (talk | contribs)
Jump to navigation Jump to search

Summary

Function: integer llGetParcelMaxPrims( vector pos, integer sim_wide );

Returns an integer that is the maximum number of prims allowed on the parcel at pos.

• vector pos region coordinate
• integer sim_wide boolean, FALSE for the parcel, otherwise for the sim.

Examples

<lsl> // Code initially created by Anthony Reisman (aka Anthony Bundy). // It is free to use or distribute for any purpose default {

   state_entry()
   {
   }
   touch_start(integer total_number)
   {
       llSay(0, "There are " + (string)llGetParcelPrimCount(llGetPos(), PARCEL_COUNT_TOTAL, FALSE) +" of "
            +(string)llGetParcelMaxPrims(llGetPos(), FALSE) + " prims rezzed on this parcel");
   }

}

</lsl>

See Also

Functions

•  llGetParcelPrimCount

Deep Notes

Search JIRA for related Issues

Signature

function integer llGetParcelMaxPrims( vector pos, integer sim_wide );