Difference between revisions of "LlGetParcelFlags"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=317|func_sleep=0.0|func_energy=10.0|func=llGetParcelFlags|return_type=integer|p1_type=vector|p1_name=pos|func_footnote=Get the parcel flags (PARCEL_FLAG_*) for the parcel including the point pos.|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|func_id=317|func_sleep=0.0|func_energy=10.0
|func=llGetParcelFlags|return_type=integer|p1_type=vector|p1_name=pos
|func_footnote
|func_desc
|return_text=that is the parcel flags (PARCEL_FLAG_*) for the parcel including the point pos.
|spec
|caveats
|constants={{{!}} {{Prettytable}}
! Flag
! Value
! Description
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_ALLOW_FLY}}
{{!}} {{LSL Hex|0x1|1}}
{{!}} find if a parcel allows flying
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_ALLOW_SCRIPTS}}
{{!}} {{LSL Hex|0x2|2}}
{{!}} find if a parcel allows outside [[script|scripts]]
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_ALLOW_LANDMARK}}
{{!}} {{LSL Hex|0x8|8}}
{{!}} find if a parcel allows [[landmark|landmarks]] to be created
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_ALLOW_TERRAFORM}}
{{!}} {{LSL Hex|0x10|16}}
{{!}} find if a parcel allows anyone to terraform the [[land]]
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_ALLOW_DAMAGE}}
{{!}} {{LSL Hex|0x20|32}}
{{!}} find if a parcel allows [[damage]]
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_ALLOW_CREATE_OBJECTS}}
{{!}} {{LSL Hex|0x40|64}}
{{!}} find if a parcel allows anyone to create [[object|objects]]
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_USE_ACCESS_GROUP}}
{{!}} {{LSL Hex|0x100|256}}
{{!}} find if a parcel limits access to a [[group]]
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_USE_ACCESS_LIST}}
{{!}} {{LSL Hex|0x200|512}}
{{!}} find if a parcel limits access to a list of [[resident|residents]]
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_USE_BAN_LIST}}
{{!}} {{LSL Hex|0x400|1024}}
{{!}} find if a parcel uses a ban list, including restricting access based on payment info
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_USE_LAND_PASS_LIST}}
{{!}} {{LSL Hex|0x800|2048}}
{{!}} find if a parcel allows passes to be purchased
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_LOCAL_SOUND_ONLY}}
{{!}} {{LSL Hex|0x8000|32768}}
{{!}} find if a parcel restricts spatialized [[sound]] to the parcel
{{!}}-
{{!}} {{LSLG|PARCEL_FLAG_RESTRICT_PUSHOBJECT}}
{{!}} {{LSL Hex|0x200000|2097152}}
{{!}} find if a parcel restricts {{LSLG|llPushObject}}
{{!}}}
|examples
|helpers
|also_functions
|also_events
|also_tests
|also_articles
|notes
|permission
|negative_index
|sort=GetParcelFlags
|cat1
|cat2
|cat3
|cat4
}}

Revision as of 11:48, 10 February 2007

Summary

Function: integer llGetParcelFlags( vector pos );

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

Search JIRA for related Issues

Signature

function integer llGetParcelFlags( vector pos );