PARCEL_DETAILS_SEE_AVATARS
constant
Constant
integer PARCEL_DETAILS_SEE_AVATARS = 6;Flag used with llGetParcelDetails to retrieve the 'See and chat with residents on this parcel' avatar visibility setting.
Constant groups
Other ParcelDetailsParam values (13)
PARCEL_DETAILS_AREA4PARCEL_DETAILS_DESC1PARCEL_DETAILS_FLAGS12PARCEL_DETAILS_GROUP3PARCEL_DETAILS_ID5PARCEL_DETAILS_LANDING_LOOKAT10PARCEL_DETAILS_LANDING_POINT9PARCEL_DETAILS_NAME0PARCEL_DETAILS_OWNER2PARCEL_DETAILS_PRIM_CAPACITY7PARCEL_DETAILS_PRIM_USED8PARCEL_DETAILS_SCRIPT_DANGER13PARCEL_DETAILS_TP_ROUTING11
This is a flag used with llGetParcelDetails to get the “See and chat with residents on this parcel” setting.
Examples
Section titled “Examples”Example 1
// 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.25 collapsed lines
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
Section titled “See also”Constants
Section titled “Constants”|
| Flag | Meaning | Max Length | Return | |||||
|---|---|---|---|---|---|---|---|---|
PARCEL_DETAILS_NAME | 0 | The name of the parcel. | 63 Characters | string | ||||
PARCEL_DETAILS_DESC | 1 | The description of the parcel. | 127 Characters | string | ||||
PARCEL_DETAILS_OWNER | 2 | The parcel owner’s key. | (36 Characters) | key | ||||
PARCEL_DETAILS_GROUP | 3 | The parcel group’s key. | (36 Characters) | key | ||||
PARCEL_DETAILS_AREA | 4 | The parcel’s area, in sqm. | (5 Characters) | integer | ||||
PARCEL_DETAILS_ID | 5 | The parcel’s key. | (36 Characters) | key | ||||
PARCEL_DETAILS_SEE_AVATARS | 6 | The parcel’s avatar visibility setting1 | (1 character) | integer - boolean | ||||
PARCEL_DETAILS_PRIM_CAPACITY | 7 | The 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_USED | 8 | The 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_POINT | 9 | Landing point set for this parcel, if any. | vector | |||||
PARCEL_DETAILS_LANDING_LOOKAT | 10 | Look at vector set for the landing point on this parcel, if any. | vector | |||||
PARCEL_DETAILS_TP_ROUTING | 11 | Teleport routing for this parcel.
Note that routing rules are only enforced if the landing point is set. | integer | |||||
PARCEL_DETAILS_FLAGS | 12 | Parcel flags set for this parcel. See llGetParcelFlags for a listing of the flags and their meaning. | integer | |||||
PARCEL_DETAILS_SCRIPT_DANGER | 13 | Is 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. | ||||||||
Functions
Section titled “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.
Footnotes
Section titled “Footnotes”-
The parcel avatar visibility setting is used to hide avatars, their chat, and objects they sit on when they are in other parcels. ↩