Difference between revisions of "LlGetParcelFlags"
Jump to navigation
Jump to search
m |
m |
||
Line 9: | Line 9: | ||
|constants={{{!}} class="sortable" {{Prettytable}} | |constants={{{!}} class="sortable" {{Prettytable}} | ||
{{!}}-{{Hl2}} | {{!}}-{{Hl2}} | ||
! | ! title="Flag" {{!}} Flag | ||
! title="Value" {{!}} Value | |||
! class="unsortable" {{!}} Description | ! class="unsortable" {{!}} Description | ||
{{!}}- | {{!}}- |
Revision as of 14:19, 4 August 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llGetParcelFlags( vector pos );317 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns an integer that is the parcel flags (PARCEL_FLAG_*) for the parcel including the point pos.
• vector | pos |
Flag | Value | Description |
---|---|---|
PARCEL_FLAG_ALLOW_FLY | 0x00000001 | find if a parcel allows flying |
PARCEL_FLAG_ALLOW_SCRIPTS | 0x00000002 | find if a parcel allows outside scripts |
PARCEL_FLAG_ALLOW_LANDMARK | 0x00000008 | find if a parcel allows landmarks to be created |
PARCEL_FLAG_ALLOW_TERRAFORM | 0x00000010 | find if a parcel allows anyone to terraform the land |
PARCEL_FLAG_ALLOW_DAMAGE | 0x00000020 | find if a parcel allows damage |
PARCEL_FLAG_ALLOW_CREATE_OBJECTS | 0x00000040 | find if a parcel allows anyone to create objects |
PARCEL_FLAG_USE_ACCESS_GROUP | 0x00000100 | find if a parcel limits access to a group |
PARCEL_FLAG_USE_ACCESS_LIST | 0x00000200 | find if a parcel limits access to a list of residents |
PARCEL_FLAG_USE_BAN_LIST | 0x00000400 | find if a parcel uses a ban list, including restricting access based on payment info |
PARCEL_FLAG_USE_LAND_PASS_LIST | 0x00000800 | find if a parcel allows passes to be purchased |
PARCEL_FLAG_LOCAL_SOUND_ONLY | 0x00008000 | find if a parcel restricts spatialized sound to the parcel |
PARCEL_FLAG_RESTRICT_PUSHOBJECT | 0x00200000 | find if a parcel restricts llPushObject |
0x20000000 | find if a parcel allows voice chat |
Caveats
Examples
if (llGetParcelFlags(llGetPos()) != PARCEL_FLAG_ALLOW_FLY) llSay(0,"You are not allowed to fly here!, Sorry!.");