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

From Second Life Wiki
Jump to navigation Jump to search
m
m (Make left-column of STATUS_ table taller than right (more visually appealing))
 
(19 intermediate revisions by 6 users not shown)
Line 2: Line 2:
{{!}}- valign="top"
{{!}}- valign="top"
{{!}}
{{!}}
{{{!}} {{Prettytable}}
{{{!}} class="{{#if:{{{sortable|}}}|sortable}}" {{Prettytable|style=margin-top:0;margin-bottom:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}} Constants
! Constants
{{#if:{{{no_default|}}}||! Default}}
! title="Value" {{!}} {{#if:{{{sortable|}}}|…|Value}} {{#if:{{{no_default|}}}||{{!}}{{!}} Default}}
! Description
! class="unsortable" {{!}} Description
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_PHYSICS|integer|ihex=1|c=}}
{{!}} {{LSL Const|STATUS_PHYSICS|integer|ihex=1|hex=0x001|c=Object is physical}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{#if:{{{no_default|}}}||{{!}} [[FALSE]]}}
{{!}} Object is [[LSL_Glossary#physical|physical]]
{{!}}-
{{!}} {{LSL Const|STATUS_ROTATE_X|integer|ihex=2|hex=0x002|c=Can turn along this axis (physical objects only)}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_ROTATE_X|integer|ihex=2|c=}}
{{!}} {{LSL Const|STATUS_ROTATE_Y|integer|ihex=4|hex=0x004|c=Can turn along this axis (physical objects only)}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{#if:{{{no_default|}}}||{{!}} [[TRUE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_ROTATE_Y|integer|ihex=4|c=}}
{{!}} {{LSL Const|STATUS_ROTATE_Z|integer|ihex=8|hex=0x008|c=Can turn along this axis (physical objects only)}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{#if:{{{no_default|}}}||{{!}} [[TRUE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_ROTATE_Z|integer|ihex=8|c=}}
{{!}} {{LSL Const|STATUS_PHANTOM|integer|ihex=16|hex=0x010|c=Object is phantom}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{#if:{{{no_default|}}}||{{!}} [[TRUE]]}}
{{!}} Object is [[LSL_Glossary#phantom|phantom]]
{{!}}-
{{!}} {{LSL Const|STATUS_SANDBOX|integer|ihex=32|hex=0x020|c=Keep object within 10 meters and in the same region}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_PHANTOM|integer|ihex=16|c=}}
{{!}} {{LSL Const|STATUS_BLOCK_GRAB|integer|ihex=64|hex=0x040|c=Prevent click-and-drag movement on the root prim}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{#if:{{{no_default|}}}||{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}}
{{#if:{{{sortable|}}}||{{!}}}
{{!}}
{{!}}
{{{!}} {{Prettytable}}
{{{!}} {{Prettytable|style=margin-top:0;margin-bottom:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}} Constants
! Constants
{{#if:{{{no_default|}}}||! Default}}
! Value {{#if:{{{no_default|}}}||{{!}}{{!}} Default}}
! Description
! Description }}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_SANDBOX|integer|ihex=32|c=}}
{{!}} {{LSL Const|STATUS_DIE_AT_EDGE|integer|ihex=128|hex=0x080|c=Delete and do not return object if it goes off world}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]<span id="srae-s" class="TablePager_nav" title="If the object is rezzed by a script, the default is TRUE">[[#srae-t|*]]</span>}}
{{#if:{{{no_default|}}}||{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_BLOCK_GRAB|integer|ihex=64|c=}}
{{!}} {{LSL Const|STATUS_RETURN_AT_EDGE|integer|ihex=256|hex=0x100|c=Return object to owner if it goes off world}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{#if:{{{no_default|}}}||{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_DIE_AT_EDGE|integer|ihex=128|c=}}
{{!}} {{LSL Const|STATUS_CAST_SHADOWS|integer|ihex=512|hex=0x200|c=''not currently used''}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{#if:{{{no_default|}}}||{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_RETURN_AT_EDGE|integer|ihex=256|c=}}
{{!}} {{LSL Const|STATUS_BLOCK_GRAB_OBJECT|integer|ihex=1024|hex=0x400|c=Prevent click-and-drag movement on all prims in the object}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{#if:{{{no_default|}}}||{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_CAST_SHADOWS|integer|ihex=512|c=}}
{{!}} {{LSL Const|STATUS_DIE_AT_NO_ENTRY|integer|ihex=2048|hex=0x800|c=Delete and do not return object if it cannot enter a parcel}}
{{!}} {{#var:value}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]<span id="srae-u" class="TablePager_nav" title="No-copy objects will remain in-world">[[#srae-v|†]]</span>}}
{{#if:{{{no_default|}}}||{{!}} [[TRUE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}}
{{!}}}
{{#if:{{{no_wrapper|}}}||{{!}}} }}
{{!}}- class="sortbottom"
{{#if:{{{no_default|}}}||
{{!}}colspan="2"{{!}}<sup id="srae-t"><span class="TablePager_nav">[[#srae-s|*]]</span> STATUS_DIE_AT_EDGE - If the object is {{LSLGC|Rez|rezzed}} by a script, the default is [[TRUE]]</sup>
 
{{!}}- class="sortbottom"
{{!}}colspan="2"{{!}}<sup id="srae-v"><span class="TablePager_nav">[[#srae-u|†]]</span> STATUS_DIE_AT_NO_ENTRY - [[Permission#Copy|No-copy]] objects ignore this flag and remain in-world</sup>
}}
{{#if:{{{no_wrapper|}}}||{{!}}} }}<noinclude>
{{{{FULLPAGENAME}}|no_default=*}}
{{{{FULLPAGENAME}}|sortable=*}}
{{{{FULLPAGENAME}}|sortable=*|no_default=*}}</noinclude>

Latest revision as of 11:41, 22 July 2022

Constants Value Default Description
STATUS_PHYSICS 0x001 FALSE Object is physical
STATUS_ROTATE_X 0x002 TRUE Can turn along this axis (physical objects only)
STATUS_ROTATE_Y 0x004 TRUE Can turn along this axis (physical objects only)
STATUS_ROTATE_Z 0x008 TRUE Can turn along this axis (physical objects only)
STATUS_PHANTOM 0x010 FALSE Object is phantom
STATUS_SANDBOX 0x020 FALSE Keep object within 10 meters and in the same region
STATUS_BLOCK_GRAB 0x040 FALSE Prevent click-and-drag movement on the root prim
Constants Value Default Description
STATUS_DIE_AT_EDGE 0x080 FALSE* Delete and do not return object if it goes off world
STATUS_RETURN_AT_EDGE 0x100 FALSE Return object to owner if it goes off world
STATUS_CAST_SHADOWS 0x200 TRUE not currently used
STATUS_BLOCK_GRAB_OBJECT 0x400 FALSE Prevent click-and-drag movement on all prims in the object
STATUS_DIE_AT_NO_ENTRY 0x800 FALSE Delete and do not return object if it cannot enter a parcel
* STATUS_DIE_AT_EDGE - If the object is rezzed by a script, the default is TRUE
STATUS_DIE_AT_NO_ENTRY - No-copy objects ignore this flag and remain in-world
Constants Value Description
STATUS_PHYSICS 0x001 Object is physical
STATUS_ROTATE_X 0x002 Can turn along this axis (physical objects only)
STATUS_ROTATE_Y 0x004 Can turn along this axis (physical objects only)
STATUS_ROTATE_Z 0x008 Can turn along this axis (physical objects only)
STATUS_PHANTOM 0x010 Object is phantom
STATUS_SANDBOX 0x020 Keep object within 10 meters and in the same region
STATUS_BLOCK_GRAB 0x040 Prevent click-and-drag movement on the root prim
Constants Value Description
STATUS_DIE_AT_EDGE 0x080 Delete and do not return object if it goes off world
STATUS_RETURN_AT_EDGE 0x100 Return object to owner if it goes off world
STATUS_CAST_SHADOWS 0x200 not currently used
STATUS_BLOCK_GRAB_OBJECT 0x400 Prevent click-and-drag movement on all prims in the object
STATUS_DIE_AT_NO_ENTRY 0x800 Delete and do not return object if it cannot enter a parcel
Constants Default Description
STATUS_PHYSICS 0x001 FALSE Object is physical
STATUS_ROTATE_X 0x002 TRUE Can turn along this axis (physical objects only)
STATUS_ROTATE_Y 0x004 TRUE Can turn along this axis (physical objects only)
STATUS_ROTATE_Z 0x008 TRUE Can turn along this axis (physical objects only)
STATUS_PHANTOM 0x010 FALSE Object is phantom
STATUS_SANDBOX 0x020 FALSE Keep object within 10 meters and in the same region
STATUS_BLOCK_GRAB 0x040 FALSE Prevent click-and-drag movement on the root prim
STATUS_DIE_AT_EDGE 0x080 FALSE* Delete and do not return object if it goes off world
STATUS_RETURN_AT_EDGE 0x100 FALSE Return object to owner if it goes off world
STATUS_CAST_SHADOWS 0x200 TRUE not currently used
STATUS_BLOCK_GRAB_OBJECT 0x400 FALSE Prevent click-and-drag movement on all prims in the object
STATUS_DIE_AT_NO_ENTRY 0x800 FALSE Delete and do not return object if it cannot enter a parcel
* STATUS_DIE_AT_EDGE - If the object is rezzed by a script, the default is TRUE
STATUS_DIE_AT_NO_ENTRY - No-copy objects ignore this flag and remain in-world
Constants Description
STATUS_PHYSICS 0x001 Object is physical
STATUS_ROTATE_X 0x002 Can turn along this axis (physical objects only)
STATUS_ROTATE_Y 0x004 Can turn along this axis (physical objects only)
STATUS_ROTATE_Z 0x008 Can turn along this axis (physical objects only)
STATUS_PHANTOM 0x010 Object is phantom
STATUS_SANDBOX 0x020 Keep object within 10 meters and in the same region
STATUS_BLOCK_GRAB 0x040 Prevent click-and-drag movement on the root prim
STATUS_DIE_AT_EDGE 0x080 Delete and do not return object if it goes off world
STATUS_RETURN_AT_EDGE 0x100 Return object to owner if it goes off world
STATUS_CAST_SHADOWS 0x200 not currently used
STATUS_BLOCK_GRAB_OBJECT 0x400 Prevent click-and-drag movement on all prims in the object
STATUS_DIE_AT_NO_ENTRY 0x800 Delete and do not return object if it cannot enter a parcel