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

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