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

From Second Life Wiki
Jump to navigation Jump to search
(trailing quotes to workaround buggy Template:LSL Const)
m
(11 intermediate revisions by 3 users not shown)
Line 2: Line 2:
{{!}}- valign="top"
{{!}}- valign="top"
{{!}}
{{!}}
{{{!}} {{Prettytable|style=margin-top:0;margin-bottom:0;}}
{{{!}} class="{{#if:{{{sortable|}}}|sortable}}" {{Prettytable|style=margin-top:0;margin-bottom:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}} Constants {{#if:{{{no_default|}}}||{{!}}{{!}} Default}}
! Constants
! Description
! title="Value" {{!}} {{#if:{{{sortable|}}}|…|Value}} {{#if:{{{no_default|}}}||{{!}}{{!}} Default}}
! class="unsortable" {{!}} Description
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_PHYSICS|integer|ihex=1|c=Object is [[LSL_Glossary#physical|physical]]"}}
{{!}} {{LSL Const|STATUS_PHYSICS|integer|ihex=1|hex=0x001|c=Object is physical}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} Object is [[LSL_Glossary#physical|physical]]
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_ROTATE_X|integer|ihex=2|c=Can turn along this axis}}
{{!}} {{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:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_ROTATE_Y|integer|ihex=4|c=Can turn along this axis}}
{{!}} {{LSL Const|STATUS_ROTATE_Y|integer|ihex=4|hex=0x004|c=Can turn along this axis (physical objects only)}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_ROTATE_Z|integer|ihex=8|c=Can turn along this axis}}
{{!}} {{LSL Const|STATUS_ROTATE_Z|integer|ihex=8|hex=0x008|c=Can turn along this axis (physical objects only)}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_PHANTOM|integer|ihex=16|c=Object is [[LSL_Glossary#phantom|phantom]]"}}
{{!}} {{LSL Const|STATUS_PHANTOM|integer|ihex=16|hex=0x010|c=Object is phantom}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} Object is [[LSL_Glossary#phantom|phantom]]
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_SANDBOX|integer|ihex=32|c=Keep object within 10 meters and in the same region}}
{{!}} {{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:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}}
{{!}}-
{{#if:{{{sortable|}}}||{{!}}}
{{!}}
{{!}}
{{{!}} {{Prettytable|style=margin-top:0;margin-bottom:0;}}
{{{!}} {{Prettytable|style=margin-top:0;margin-bottom:0;}}
{{!}}-{{Hl2}}
{{!}}-{{Hl2}}
! colspan="2" {{!}} Constants {{#if:{{{no_default|}}}||{{!}}{{!}} Default}}
! Constants
! Description
! Value {{#if:{{{no_default|}}}||{{!}}{{!}} Default}}
! Description }}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_BLOCK_GRAB|integer|ihex=64|c=Prevent click-hold drag on the root or only prim}}
{{!}} {{LSL Const|STATUS_BLOCK_GRAB|integer|ihex=64|hex=0x040|c=Prevent click-and-drag movement on the root prim}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_DIE_AT_EDGE|integer|ihex=128|c=delete and do not return object if it goes off world}}
{{!}} {{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: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}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_RETURN_AT_EDGE|integer|ihex=256|c=return object to owner if it goes off world}}
{{!}} {{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:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_CAST_SHADOWS|integer|ihex=512|c=''not currently used''}}
{{!}} {{LSL Const|STATUS_CAST_SHADOWS|integer|ihex=512|hex=0x200|c=''not currently used''}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}-
{{!}} {{LSL Const|STATUS_BLOCK_GRAB_OBJECT|integer|ihex=1024|c=Prevent click-hold drag on all prims in the object}}
{{!}} {{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}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
{{!}} {{#var:comment}}
{{!}} {{#var:comment}}
{{!}}-
{{!}}}
{{!}}}
{{!}}-
{{!}}- class="sortbottom"
{{#if:{{{no_default|}}}||
{{#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>
{{!}}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>
}}  
}}  
{{#if:{{{no_wrapper|}}}||{{!}}} }}
{{#if:{{{no_wrapper|}}}||{{!}}} }}<noinclude>
<noinclude>{{{{FULLPAGENAME}}|no_default=*}}</noinclude>
{{{{FULLPAGENAME}}|no_default=*}}
{{{{FULLPAGENAME}}|sortable=*}}
{{{{FULLPAGENAME}}|sortable=*|no_default=*}}</noinclude>

Revision as of 04:17, 11 October 2016

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
Constants Value Default Description
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_EDGE - If the object is rezzed by a script, the default is TRUE
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
Constants Value Description
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
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_EDGE - If the object is rezzed by a script, the default is TRUE
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