Skip to content
lsl.devlsl.devLSL Dev

LlGetParcelDetails

Looking for the current API? Open the llGetParcelDetails reference →

Function notes

Both x and y components of pos are clamped to the range [0.0, 256.0], the z component is ignored.

Return value notes

Returns a list that is the parcel details specified in params (in the same order) for the parcel at pos.

Specification

Flag Meaning Max Length Return
PARCEL_DETAILS_NAME0The name of the parcel.63 Charactersstring
PARCEL_DETAILS_DESC1The description of the parcel.127 Charactersstring
PARCEL_DETAILS_OWNER2The parcel owner's key.(36 Characters)key
PARCEL_DETAILS_GROUP3The parcel group's key.(36 Characters)key
PARCEL_DETAILS_AREA4The parcel's area, in sqm.(5 Characters)integer
PARCEL_DETAILS_ID5The parcel's key.(36 Characters)key
PARCEL_DETAILS_SEE_AVATARS6The parcel's avatar visibility settingThe parcel avatar visibility setting is used to hide avatars, their chat, and objects they sit on when they are in other parcels.(1 character)integer - boolean
PARCEL_DETAILS_PRIM_CAPACITY7The total prim capacity on this and all same-owner parcels, sim-wide. See llGetParcelMaxPrims for same-parcel-only and/or sim-wide reporting.integer
PARCEL_DETAILS_PRIM_USED8The total prim usage on this and all same-owner parcels, sim-wide. See llGetParcelPrimCount to get prim count by parcel owner, group, temp, etc. for same-parcel-only and/or sim-wide reporting.integer
PARCEL_DETAILS_LANDING_POINT9Landing point set for this parcel, if any.vector
PARCEL_DETAILS_LANDING_LOOKAT10Look at vector set for the landing point on this parcel, if any.vector
PARCEL_DETAILS_TP_ROUTING11Teleport routing for this parcel.
  • 0 = TP_ROUTING_BLOCKED
  • 1 = TP_ROUTING_LANDINGP
  • 2 = TP_ROUTING_FREE
Note that routing rules are only enforced if the landing point is set.
integer
PARCEL_DETAILS_FLAGS12Parcel flags set for this parcel. See llGetParcelFlags for a listing of the flags and their meaning.integer
PARCEL_DETAILS_SCRIPT_DANGER13Is the script in danger in the indicated parcel. See llScriptDanger for a discussion of script danger.integer - boolean
Max Lengths in parentheses represent how many characters required when it is typecast to a string.

Caveats

  • This cannot be used to get the parcel details of parcels in neighboring regions.

Examples

A very simple example to return the parcel name and description for the current parcel.
default
{
    touch_start(integer total_number)
    {
        list details = llGetParcelDetails(llGetPos(), [PARCEL_DETAILS_NAME, PARCEL_DETAILS_DESC]);
        
        llSay(0, "Local Parcel Name:" + llList2String(details ,0));
        llSay(0, "Local Parcel Desc:" + llList2String(details ,1));
    }
}

See also: functions

Shared wiki helpers

The original page also injects shared parameter notes, caveats or issue information through these helpers. Their conditional MediaWiki logic is not reproduced here; inspect the preserved helper source for additional material.

Template:Issues/SVC-4413

Original shared helper source (conditional wiki logic is not evaluated)
{{Issues|SVC-4413|Please add a way to get the parcel "landing point" and "teleport routing" to [[llGetParcelDetails]]|type=fs}}
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.