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

From Second Life Wiki
Jump to: navigation, search
m
(Attempting to add STATUS_BLOCK_GRAB_OBJECT. Be gentle... still new at this...)
Line 24: Line 24:
 
{{!}}-
 
{{!}}-
 
{{!}} {{LSL Const|STATUS_PHANTOM|integer|ihex=16|c=}}
 
{{!}} {{LSL Const|STATUS_PHANTOM|integer|ihex=16|c=}}
 +
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
 +
{{!}} {{#var:comment}}
 +
{{!}}-
 +
{{!}} {{LSL Const|STATUS_SANDBOX|integer|ihex=32|c=}}
 
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
 
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
 
{{!}} {{#var:comment}}
 
{{!}} {{#var:comment}}
Line 32: Line 36:
 
! colspan="2" {{!}} Constants {{#if:{{{no_default|}}}||{{!}}{{!}} Default}}
 
! colspan="2" {{!}} Constants {{#if:{{{no_default|}}}||{{!}}{{!}} Default}}
 
! Description
 
! Description
{{!}}-
 
{{!}} {{LSL Const|STATUS_SANDBOX|integer|ihex=32|c=}}
 
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
 
{{!}} {{#var:comment}}
 
 
{{!}}-
 
{{!}}-
 
{{!}} {{LSL Const|STATUS_BLOCK_GRAB|integer|ihex=64|c=}}
 
{{!}} {{LSL Const|STATUS_BLOCK_GRAB|integer|ihex=64|c=}}
Line 51: Line 51:
 
{{!}} {{LSL Const|STATUS_CAST_SHADOWS|integer|ihex=512|c=}}
 
{{!}} {{LSL Const|STATUS_CAST_SHADOWS|integer|ihex=512|c=}}
 
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
 
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[TRUE]]}}
 +
{{!}} {{#var:comment}}
 +
{{!}}-
 +
{{!}} {{LSL Const|STATUS_BLOCK_GRAB_OBJECT|integer|ihex=1024|c=}}
 +
{{!}} {{#var:value}} {{#if:{{{no_default|}}}||{{!}}{{!}} [[FALSE]]}}
 
{{!}} {{#var:comment}}
 
{{!}} {{#var:comment}}
 
{{!}}}
 
{{!}}}

Revision as of 11:51, 16 August 2010

Constants Default Description
STATUS_PHYSICS 0x1 FALSE
STATUS_ROTATE_X 0x2 TRUE
STATUS_ROTATE_Y 0x4 TRUE
STATUS_ROTATE_Z 0x8 TRUE
STATUS_PHANTOM 0x10 FALSE
STATUS_SANDBOX 0x20 FALSE
Constants Default Description
STATUS_BLOCK_GRAB 0x40 FALSE
STATUS_DIE_AT_EDGE 0x80 FALSE
STATUS_RETURN_AT_EDGE 0x100 FALSE
STATUS_CAST_SHADOWS 0x200 TRUE
STATUS_BLOCK_GRAB_OBJECT 0x400 FALSE
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