Difference between revisions of "Template:LSL Constants/Region"

From Second Life Wiki
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{wrap|}}}|{{!}}}}
{{#if:{{{wrap|}}}|{{!}}}}
{{{!}} class="sortable" {{Prettytable|style=margin-top:0;}}
{{{!}} class="sortable" {{Prettytable|style=margin-top:0;margin-bottom:0;}}
{{!}}- {{Hl2}}
{{!}}- {{Hl2}}
! Flag
! Flag
Line 47: Line 47:
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}-
{{!}}<s>{{LSL Const|REGION_FLAGS_ALLOW_SET_HOME|integer|hex=0x00000004|c=Do we reset the home position when someone teleports away from here?|nolink=*}}</s>†
{{!}}<s>{{LSL Const|REGION_FLAGS_ALLOW_SET_HOME|integer|hex=0x00000004|c=Do we allow the home position to be set here?|nolink=*}}</s>†
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
Line 55: Line 55:
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}-
{{!}}<s>{{LSL Const|REGION_FLAGS_TAX_FREE|integer|hex=0x00000020|c=Tax free zone (no taxes on objects, land, etc.)|nolink=*}}</s>†
{{!}}<s style="color:red;">{{LSL Const|REGION_FLAGS_TAX_FREE|integer|hex=0x00000020|c=Tax free zone (no taxes on objects, land, etc.)|nolink=*}}</s>†*
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}<br/>Taxes were abolished with SL version 1.2. See {{SLH|Taxes}}
{{!}}{{#var:comment}}<br/>Taxes were abolished with SL version 1.2. See {{SLH|Taxes}}
Line 63: Line 63:
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}-
{{!}}<s>{{LSL Const|REGION_FLAGS_NULL_LAYER|integer|hex=0x00000200|c=|nolink=*}}</s>†
{{!}}<s style="color:red;">{{LSL Const|REGION_FLAGS_NULL_LAYER|integer|hex=0x00000200|c=|nolink=*}}</s>†*
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}-
{{!}}<s>{{LSL Const|REGION_FLAGS_SKIP_AGENT_ACTION|integer|hex=0x00000400|c=|nolink=*}}</s>†
{{!}}<s style="color:red;">{{LSL Const|REGION_FLAGS_HARD_ALLOW_LAND_TRANSFER|integer|hex=0x00000400|c=Region allows land reselling|nolink=*}}</s>†*
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}-
{{!}}<s>{{LSL Const|REGION_FLAGS_SKIP_UPDATE_INTEREST_LIST|integer|hex=0x00000800|c=|nolink=*}}</s>†
{{!}}<s style="color:red;">{{LSL Const|REGION_FLAGS_SKIP_UPDATE_INTEREST_LIST|integer|hex=0x00000800|c=Region allows posting of classified ads|nolink=*}}</s>†*
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
Line 83: Line 83:
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}-
{{!}}<s style="color:red;">{{LSL Const|REGION_FLAGS_MAINLAND_VISIBLE|integer|hex=0x00010000|c=|nolink=*}}</s>†*
{{!}}<s>{{LSL Const|REGION_FLAGS_ALLOW_RETURN_ENCROACHING_OBJECT|integer|hex=0x00010000|c=|nolink=*}}</s>†
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}-
{{!}}<s>{{LSL Const|REGION_FLAGS_PUBLIC_ALLOWED|integer|hex=0x00020000|c=|nolink=*}}</s>†
{{!}}<s>{{LSL Const|REGION_FLAGS_ALLOW_RETURN_ENCROACHING_ESTATE_OBJECT|integer|hex=0x00020000|c=|nolink=*}}</s>†
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
Line 115: Line 115:
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}-
{{!}}<s>{{LSL Const|REGION_FLAGS_ABUSE_EMAIL_TO_ESTATE_OWNER|integer|hex=0x08000000|c=|nolink=*}}</s>†
{{!}}<s style="color:red;">{{LSL Const|REGION_FLAGS_ABUSE_EMAIL_TO_ESTATE_OWNER|integer|hex=0x08000000|c=|nolink=*}}</s>†*
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}{{#var:comment}}
Line 128: Line 128:
{{!}}-
{{!}}-
{{!}}<s>{{LSL Const|REGION_FLAGS_DENY_AGEUNVERIFIED|integer|hex=0x40000000|c=|nolink=*}}</s>†
{{!}}<s>{{LSL Const|REGION_FLAGS_DENY_AGEUNVERIFIED|integer|hex=0x40000000|c=|nolink=*}}</s>†
{{!}}{{#var:value}}
{{!}}{{#var:comment}}
{{!}}-
{{!}}<s style="color:red;">{{LSL Const|REGION_FLAGS_SKIP_MONO_SCRIPTS|integer|hex=0x80000000|c=|nolink=*}}</s>†*
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}{{#var:comment}} }}
{{!}}{{#var:comment}} }}
Line 135: Line 139:
{{{!}} style="padding:0;"
{{{!}} style="padding:0;"
{{!}}valign="top" style="padding:0;"{{!}}†&nbsp;
{{!}}valign="top" style="padding:0;"{{!}}†&nbsp;
{{!}}style="font-size:70%;padding:0;"{{!}}REGION_FLAGS_* are internal and not exposed to the compiler (hence the strike through), despite this their values may be valid in the mask. In other words, there may be no nice name for the constant that the compiler will accept, so use the value instead.
{{!}}style="font-size:70%;padding:0;"{{!}}REGION_FLAGS_* are internal and not exposed to the compiler (hence the strike through), despite this their values may be valid in the mask. In other words, there may be no nice name for the constant that the compiler will accept but the values may work. Remember that LL does not support these; they may redefine the flags without notice, this has happened in the past.
{{!}}-
{{!}}-
{{!}}style="font-size:70%;padding:0;"{{!}}*&nbsp;
{{!}}style="font-size:70%;padding:0;"{{!}}*&nbsp;
{{!}}style="font-size:70%;padding:0;"{{!}}REGION_FLAGS_* flags in red have been officially removed, the values may get reassigned and reused!
{{!}}style="font-size:70%;padding:0;"{{!}}REGION_FLAGS_* flags in red have been removed from the {{SourceLink/github|viewer|indra/llmessage/llregionflags.h|text=source code}}, the values may get reassigned and reused!
{{!}}} }}
{{!}}} }}
<noinclude>{{{{FULLPAGENAME}}|valid=*}}</noinclude>
<noinclude>{{{{FULLPAGENAME}}|valid=*}}</noinclude>

Latest revision as of 14:15, 17 November 2022

Flag Value Description
REGION_FLAG_ALLOW_DAMAGE 0x00000001 Find if a region is entirely damage enabled
REGION_FLAG_FIXED_SUN 0x00000010 Find if a region has a fixed sun position
REGION_FLAG_BLOCK_TERRAFORM 0x00000040 Find if a region terraforming disabled
REGION_FLAG_SANDBOX 0x00000100 Find if a region is a sandbox
REGION_FLAG_DISABLE_COLLISIONS 0x00001000 Find if a region has disabled collisions
REGION_FLAG_DISABLE_PHYSICS 0x00004000 Find if a region has disabled physics
REGION_FLAG_BLOCK_FLY 0x00080000 Find if a region blocks flying
REGION_FLAG_ALLOW_DIRECT_TELEPORT 0x00100000 Find if a region allows direct teleports
REGION_FLAG_RESTRICT_PUSHOBJECT 0x00400000 Find if a region restricts llPushObject calls
REGION_FLAGS_ALLOW_LANDMARK 0x00000002 Can you make landmarks here?
REGION_FLAGS_ALLOW_SET_HOME 0x00000004 Do we allow the home position to be set here?
REGION_FLAGS_RESET_HOME_ON_TELEPORT 0x00000008 Do we reset the home position when someone teleports away from here?
REGION_FLAGS_TAX_FREE†* 0x00000020 Tax free zone (no taxes on objects, land, etc.)
Taxes were abolished with SL version 1.2. See SL Wikia:Taxes
REGION_FLAGS_BLOCK_LAND_RESELL 0x00000080 Can't release, sell, or buy land.
REGION_FLAGS_NULL_LAYER†* 0x00000200
REGION_FLAGS_HARD_ALLOW_LAND_TRANSFER†* 0x00000400 Region allows land reselling
REGION_FLAGS_SKIP_UPDATE_INTEREST_LIST†* 0x00000800 Region allows posting of classified ads
REGION_FLAGS_SKIP_SCRIPTS 0x00002000
REGION_FLAGS_EXTERNALLY_VISIBLE 0x00008000
REGION_FLAGS_ALLOW_RETURN_ENCROACHING_OBJECT 0x00010000
REGION_FLAGS_ALLOW_RETURN_ENCROACHING_ESTATE_OBJECT 0x00020000
REGION_FLAGS_BLOCK_DWELL 0x00040000
REGION_FLAGS_ESTATE_SKIP_SCRIPTS 0x00200000 Is there an administrative override on scripts in the region at the moment. This is the similar skip scripts, except this flag is persisted in the database on an estate level.
REGION_FLAGS_DENY_ANONYMOUS 0x00800000
REGION_FLAGS_DENY_IDENTIFIED†* 0x01000000
REGION_FLAGS_DENY_TRANSACTED†* 0x02000000
REGION_FLAGS_ALLOW_PARCEL_CHANGES 0x04000000
REGION_FLAGS_ABUSE_EMAIL_TO_ESTATE_OWNER†* 0x08000000
REGION_FLAGS_ALLOW_VOICE 0x10000000
REGION_FLAGS_BLOCK_PARCEL_SEARCH 0x20000000
REGION_FLAGS_DENY_AGEUNVERIFIED 0x40000000
REGION_FLAGS_SKIP_MONO_SCRIPTS†* 0x80000000
†  REGION_FLAGS_* are internal and not exposed to the compiler (hence the strike through), despite this their values may be valid in the mask. In other words, there may be no nice name for the constant that the compiler will accept but the values may work. Remember that LL does not support these; they may redefine the flags without notice, this has happened in the past.
REGION_FLAGS_* flags in red have been removed from the source code, the values may get reassigned and reused!
Flag Value Description
REGION_FLAG_ALLOW_DAMAGE 0x00000001 Find if a region is entirely damage enabled
REGION_FLAG_FIXED_SUN 0x00000010 Find if a region has a fixed sun position
REGION_FLAG_BLOCK_TERRAFORM 0x00000040 Find if a region terraforming disabled
REGION_FLAG_SANDBOX 0x00000100 Find if a region is a sandbox
REGION_FLAG_DISABLE_COLLISIONS 0x00001000 Find if a region has disabled collisions
REGION_FLAG_DISABLE_PHYSICS 0x00004000 Find if a region has disabled physics
REGION_FLAG_BLOCK_FLY 0x00080000 Find if a region blocks flying
REGION_FLAG_ALLOW_DIRECT_TELEPORT 0x00100000 Find if a region allows direct teleports
REGION_FLAG_RESTRICT_PUSHOBJECT 0x00400000 Find if a region restricts llPushObject calls