llGetParcelFlags

From Second Life Wiki
Jump to navigation Jump to search

Summary

Function: integer llGetParcelFlags( vector pos );
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 Description
PARCEL_FLAG_ALLOW_FLY 0x1 find if a parcel allows flying
PARCEL_FLAG_ALLOW_SCRIPTS 0x2 find if a parcel allows outside scripts
PARCEL_FLAG_ALLOW_LANDMARK 0x8 find if a parcel allows landmarks to be created
PARCEL_FLAG_ALLOW_TERRAFORM 0x10 find if a parcel allows anyone to terraform the land
PARCEL_FLAG_ALLOW_DAMAGE 0x20 find if a parcel allows damage
PARCEL_FLAG_ALLOW_CREATE_OBJECTS 0x40 find if a parcel allows anyone to create objects
PARCEL_FLAG_USE_ACCESS_GROUP 0x100 find if a parcel limits access to a group
PARCEL_FLAG_USE_ACCESS_LIST 0x200 find if a parcel limits access to a list of residents
PARCEL_FLAG_USE_BAN_LIST 0x400 find if a parcel uses a ban list, including restricting access based on payment info
PARCEL_FLAG_USE_LAND_PASS_LIST 0x800 find if a parcel allows passes to be purchased
PARCEL_FLAG_LOCAL_SOUND_ONLY 0x8000 find if a parcel restricts spatialized sound to the parcel
PARCEL_FLAG_RESTRICT_PUSHOBJECT 0x200000 find if a parcel restricts llPushObject

Examples

Deep Notes

Signature

function integer llGetParcelFlags( vector pos );