Difference between revisions of "Template:LSL Constants/Parcel Details"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{{!}}{{Prettytable}} {{!}}-{{Hl2}} !colspan="2"{{!}}Detail!!Meaning!!Max Length!!Return Type {{!}}- {{!}}PARCEL_DETAILS_NAME{{!}}{{!}}0{{!}}{{!}}The name of the parcel.{{!}}{{!}}63 Ch...)
 
(Added note about PARCEL_DETAILS_TP_ROUTING rules hinging on PARCEL_DETAILS_LANDING_POINT)
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{{!}}{{Prettytable}}
{{{!}} class="sortable" {{Prettytable|style=margin-top:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
!colspan="2"{{!}}Detail!!Meaning!!Max Length!!Return Type
! Flag
! title="Value"{{!}}
! class="unsortable"{{!}} Meaning
! class="unsortable"{{!}} Max Length
! Return
{{!}}-
{{!}}-
{{!}}[[PARCEL_DETAILS_NAME]]{{!}}{{!}}0{{!}}{{!}}The name of the parcel.{{!}}{{!}}63 Characters{{!}}{{!}}[[string]]
{{!}}{{LSL Const|PARCEL_DETAILS_NAME|integer|0|c=The name of the parcel.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}63 Characters
{{!}}[[string]]
{{!}}-
{{!}}-
{{!}}[[PARCEL_DETAILS_DESC]]{{!}}{{!}}1{{!}}{{!}}The description of the parcel.{{!}}{{!}}127 Characters{{!}}{{!}}[[string]]
{{!}}{{LSL Const|PARCEL_DETAILS_DESC|integer|1|c=The description of the parcel.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}127 Characters
{{!}}[[string]]
{{!}}-
{{!}}-
{{!}}[[PARCEL_DETAILS_OWNER]]{{!}}{{!}}2{{!}}{{!}}The parcel owner's key.{{!}}{{!}}(36 Characters){{!}}{{!}}[[key]]
{{!}}{{LSL Const|PARCEL_DETAILS_OWNER|integer|2|c=The parcel owner's key.}}
{{!}}{{#var:value}}
{{!}}The parcel {{LSLGC|Owner|owner}}'s key.
{{!}}(36 Characters)
{{!}}[[key]]
{{!}}-
{{!}}-
{{!}}[[PARCEL_DETAILS_GROUP]]{{!}}{{!}}3{{!}}{{!}}The parcel group's key.{{!}}{{!}}(36 Characters){{!}}{{!}}[[key]]
{{!}}{{LSL Const|PARCEL_DETAILS_GROUP|integer|3|c=The parcel group's key.}}
{{!}}{{#var:value}}
{{!}}The parcel {{LSLGC|Group|group}}'s key.
{{!}}(36 Characters)
{{!}}[[key]]
{{!}}-
{{!}}-
{{!}}[[PARCEL_DETAILS_AREA]]{{!}}{{!}}4{{!}}{{!}}The parcel's area, in sqm.{{!}}{{!}}(5 Characters){{!}}{{!}}[[integer]]
{{!}}{{LSL Const|PARCEL_DETAILS_AREA|integer|4|c=The parcel's area, in sqm.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}(5 Characters)
{{!}}[[integer]]
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_ID|integer|5|c=The parcel's key.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}(36 Characters)
{{!}}[[key]]
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_SEE_AVATARS|integer|6|c=The parcel's avatar visibility setting}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}{{footnote|The 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
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_PRIM_CAPACITY|integer|7|c=This parcel's prim capacity.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}
{{!}}[[integer]]
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_PRIM_USED|integer|8|c=The prim usage on this parcel.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}
{{!}}[[integer]]
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_LANDING_POINT|integer|9|c=Landing point set for this parcel, if any.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}
{{!}}[[vector]]
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_LANDING_LOOKAT|integer|10|c=Look at vector set for the landing point on this parcel, if any.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}
{{!}}[[vector]]
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_TP_ROUTING|integer|11|c=Teleport routing for this parcel.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
* 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]]
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_FLAGS|integer|12|c=Parcel flags set for this parcel.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
See [[llGetParcelFlags]] for a listing of the flags and their meaning.
{{!}}
{{!}}[[integer]]
{{!}}-
{{!}}{{LSL Const|PARCEL_DETAILS_SCRIPT_DANGER|integer|13|c=Is the script in danger in the indicated parcel.}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
See [[llScriptDanger]] for a discussion of script danger.
{{!}}
{{!}}[[integer]] - boolean
{{!}}-
{{!}}- class="sortbottom"
{{!}} colspan="5" {{!}} Max Lengths in parentheses represent how many characters required when it is [[typecast]] to a string.
{{!}} style="display:none;" {{!}}
{{!}} style="display:none;" {{!}}
{{!}} style="display:none;" {{!}}
{{!}} style="display:none;" {{!}}
{{!}}}
{{!}}}
Max Lengths in parentheses represent how many characters required when it is [[typecast]] to a string.

Latest revision as of 09:14, 21 April 2022

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 setting[1] (1 character) integer - boolean
PARCEL_DETAILS_PRIM_CAPACITY 7 This parcel's prim capacity. integer
PARCEL_DETAILS_PRIM_USED 8 The prim usage on this parcel. 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.
  • 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_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.