Syntax

integer llGetParcelMaxPrims( vector pos, integer sim_wide );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

vector pos
position in region coordinates (z component is ignored)
integer sim_wide (boolean)
TRUE treats all parcels owned by this parcel owner in the sim in a single maximum, FALSE determines the max for the specified parcel

Return value

Returns an integer that is the maximum combined land impact allowed for objects on the parcel at pos.

Specification

If sim_wide is...

Caveats

Examples

default
{
    touch_start(integer total_number)
    {
        llSay(0, "The total land impact of objects rezzed on this parcel is "
             +(string)llGetParcelPrimCount(llGetPos(), PARCEL_COUNT_TOTAL, FALSE) +", of "
             +(string)llGetParcelMaxPrims(llGetPos(), FALSE) + " allowed.");
    }
}

See also

Functions