Skip to content
lsl.devlsl.devLSL Dev

PARCEL DETAILS SEE AVATARS

Looking for the current API? Open the PARCEL_DETAILS_SEE_AVATARS reference →

Wiki description

This is a flag used with llGetParcelDetails to get the "See and chat with residents on this parcel" setting.

Examples

// returns parcel data. 
string getParcelDataRequest() 
{
    string message; //stores a temp message.
    
    // get parcel name and details on if others can see avatars on the parcel from other parcels
    list parcelData = llGetParcelDetails( llGetPos(), [PARCEL_DETAILS_NAME, PARCEL_DETAILS_SEE_AVATARS] );
    
    // name the parcel and prepare the message. 
    message = "Parcel name is: " + llList2String( parcelData, 0 );
    
    // determine if people can see avatars (1 = can see, 0 = can't see)
    if( llList2String( parcelData, 1 ) == "0" )
    {
        message += ", avatars on other parcels can't see avatars on this parcel.";
    }
    
    // else they can see
    else
    {
        message +=", avatars on other parcels can see avatars on this parcel.";
    }
    
    return message;
}

default
{
    state_entry()
    {
        // calls the method for getting parcel data.
        llOwnerSay( getParcelDataRequest() );
    }
}

See also: constants

|
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.

See also: functions

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.