LSL Status/Constants

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Updated to say "extracted from 0.9.0". Altered some notes.)
m (Add commit url)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==LSL Constants==
 
==LSL Constants==
  
These are extracted from OpenSimulator 0.9.0-post-fixes
+
These are extracted from OpenSimulator 0.9.1-Dev (commit #7479638e on 2018-10-25)
 
and are in sync with Second Life Server/12 12.04.30.255166
 
and are in sync with Second Life Server/12 12.04.30.255166
  
Line 8: Line 8:
 
LL Wiki and SL Server/12 Release Notes and other sources used for comparison.
 
LL Wiki and SL Server/12 Release Notes and other sources used for comparison.
  
NOTES:
+
{| cellspacing="0" cellpadding="5" border="1" align="left" style="width: 100%;" class="sortable"
This is NOT Complete. More info required. Subject to change.
+
|- style="background-color:#57C604;font-size:10pt;font-weight:bold;border-bottom:1px solid;" align="left" valign="bottom"
 
+
{| cellspacing="0" cellpadding="5" border="1" align="center" style="width: 100%;" class="sortable"
+
|- style="background-color:#57C604;font-size:10pt;font-weight:bold;border-bottom:1px solid;" align="center" valign="bottom"
+
 
| Constant Name || Value || Notes
 
| Constant Name || Value || Notes
 
|-
 
|-
| TRUE || Integer(1) ||
+
| TRUE || 1 ||
 
|-
 
|-
| FALSE || Integer(0) ||
+
| FALSE || 0 ||
 
|-
 
|-
 
| STATUS_PHYSICS || 1 ||
 
| STATUS_PHYSICS || 1 ||
Line 46: Line 43:
 
|-
 
|-
 
| AGENT_BY_USERNAME || 0x10 ||
 
| AGENT_BY_USERNAME || 0x10 ||
 +
|-
 +
| NPC || 0x20 ||
 
|-
 
|-
 
| ACTIVE || 2 ||
 
| ACTIVE || 2 ||
Line 99: Line 98:
 
| PERMISSION_OVERRIDE_ANIMATIONS || 0x8000 || Added in 0.9.0-post-fixes.
 
| PERMISSION_OVERRIDE_ANIMATIONS || 0x8000 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| AGENT_FLYING || 1 ||
+
| AGENT_FLYING || 0x1 ||
 +
|-
 +
| AGENT_ATTACHMENTS || 0x2 ||
 
|-
 
|-
| AGENT_ATTACHMENTS || 2 ||
+
| AGENT_SCRIPTED || 0x4 ||
 
|-
 
|-
| AGENT_SCRIPTED || 4 ||
+
| AGENT_MOUSELOOK || 0x8 ||
 
|-
 
|-
| AGENT_MOUSELOOK || 8 ||
+
| AGENT_SITTING || 0x10 (16) ||
 
|-
 
|-
| AGENT_SITTING || 16 ||
+
| AGENT_ON_OBJECT || 0x20 (32) ||
 
|-
 
|-
| AGENT_ON_OBJECT || 32 ||
+
| AGENT_AWAY || 0x40 (64) ||
 
|-
 
|-
| AGENT_AWAY || 64 ||
+
| AGENT_WALKING || 0x80 (128) ||
 
|-
 
|-
| AGENT_WALKING || 128 ||
+
| AGENT_IN_AIR || 0x100 (256) ||
 
|-
 
|-
| AGENT_IN_AIR || 256 ||
+
| AGENT_TYPING || 0x200 (512) ||
 
|-
 
|-
| AGENT_TYPING || 512 ||
+
| AGENT_CROUCHING || 0x400 (1024) ||
 
|-
 
|-
| AGENT_CROUCHING || 1024 ||
+
| AGENT_BUSY || 0x800 (2048) ||
 
|-
 
|-
| AGENT_BUSY || 2048 ||
+
| AGENT_ALWAYS_RUN || 0x1000 (4096) ||
 
|-
 
|-
| AGENT_ALWAYS_RUN || 4096 ||
+
| AGENT_AUTOPILOT || 0x2000 (8192) || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 
|-
 
|-
| AGENT_MALE || 8192 ||Added in 0.9.0-post-fixes.
+
| AGENT_MALE || 0x40000000 || Added in 0.9.0-post-fixes. // Was 0x2000 (8192) before commit 7479638e on 2018-10-25.
 
|-
 
|-
 
| PSYS_PART_INTERP_COLOR_MASK || 1 || http://wiki.secondlife.com/wiki/LlParticleSystem
 
| PSYS_PART_INTERP_COLOR_MASK || 1 || http://wiki.secondlife.com/wiki/LlParticleSystem
Line 555: Line 556:
 
| CHANGED_MEDIA || 2048 ||
 
| CHANGED_MEDIA || 2048 ||
 
|-
 
|-
| CHANGED_ANIMATION || 16384 ||
+
| CHANGED_ANIMATION || 16384 || Available in OpenSim only.
 
|-
 
|-
| CHANGED_POSITION || 32768 || Added in 0.9.0-post-fixes.
+
| CHANGED_POSITION || 32768 || Added in 0.9.0-post-fixes. Available in OpenSim only.
 
|-
 
|-
 
| TYPE_INVALID || 0 ||
 
| TYPE_INVALID || 0 ||
Line 639: Line 640:
 
| PRIM_TEXGEN || 22 ||
 
| PRIM_TEXGEN || 22 ||
 
|-
 
|-
| PRIM_POINT_LIGHT || 23 ||  
+
| PRIM_POINT_LIGHT || 23 ||
 
|-
 
|-
 
| PRIM_CAST_SHADOWS || 24 || // Not implemented, here for completeness sake
 
| PRIM_CAST_SHADOWS || 24 || // Not implemented, here for completeness sake
Line 676: Line 677:
 
|-
 
|-
 
| PRIM_SIT_TARGET || 41 || Added in 0.9.0-post-fixes.
 
| PRIM_SIT_TARGET || 41 || Added in 0.9.0-post-fixes.
 +
|-
 +
| PRIM_ALPHA_MODE_NONE || 0 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| PRIM_ALPHA_MODE_BLEND || 1 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| PRIM_ALPHA_MODE_MASK || 2 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| PRIM_ALPHA_MODE_EMISSIVE || 3 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 
|-
 
|-
 
| PRIM_TEXGEN_DEFAULT || 0 ||
 
| PRIM_TEXGEN_DEFAULT || 0 ||
Line 773: Line 782:
 
| PRIM_SCULPT_TYPE_CYLINDER || 4 ||
 
| PRIM_SCULPT_TYPE_CYLINDER || 4 ||
 
|-
 
|-
| PRIM_SCULPT_FLAG_INVERT || 64 ||
+
| PRIM_SCULPT_FLAG_INVERT || 0x40 (64) ||
 
|-
 
|-
| PRIM_SCULPT_FLAG_MIRROR || 128 ||
+
| PRIM_SCULPT_FLAG_MIRROR || 0x80 (128) ||
 +
|-
 +
| PRIM_SCULPT_TYPE_MASK || 0x07 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25)
 
|-
 
|-
 
| PRIM_PHYSICS_SHAPE_PRIM || 0 || Added in 0.9.0-post-fixes.
 
| PRIM_PHYSICS_SHAPE_PRIM || 0 || Added in 0.9.0-post-fixes.
Line 895: Line 906:
 
| ESTATE_ACCESS_BANNED_AGENT_REMOVE || 5 ||
 
| ESTATE_ACCESS_BANNED_AGENT_REMOVE || 5 ||
 
|-
 
|-
| PAY_HIDE || Integer(-1) ||
+
| PAY_HIDE || -1 ||
 
|-
 
|-
| PAY_DEFAULT || Integer(-2) ||
+
| PAY_DEFAULT || -2 ||
 
|-
 
|-
 
| NULL_KEY || "00000000-0000-0000-0000-000000000000" ||
 
| NULL_KEY || "00000000-0000-0000-0000-000000000000" ||
Line 995: Line 1,006:
 
| OBJECT_CHARACTER_TIME || 17 || Added in 0.7.5-post-fixes.
 
| OBJECT_CHARACTER_TIME || 17 || Added in 0.7.5-post-fixes.
 
|-
 
|-
| OBJECT_ROOT || 18 || Added in 0.7.5-post-fixes.                                                          
+
| OBJECT_ROOT || 18 || Added in 0.7.5-post-fixes.
 
|-
 
|-
| OBJECT_ATTACHED_POINT || 19 || Added in 0.7.5-post-fixes.                                                
+
| OBJECT_ATTACHED_POINT || 19 || Added in 0.7.5-post-fixes.
 
|-
 
|-
| OBJECT_PATHFINDING_TYPE || 20 || Added in 0.7.5-post-fixes.                                              
+
| OBJECT_PATHFINDING_TYPE || 20 || Added in 0.7.5-post-fixes.
 
|-
 
|-
| OBJECT_PHYSICS || 21 || Added in 0.7.5-post-fixes.                                                      
+
| OBJECT_PHYSICS || 21 || Added in 0.7.5-post-fixes.
 
|-
 
|-
| OBJECT_PHANTOM || 22 || Added in 0.7.5-post-fixes.                                                      
+
| OBJECT_PHANTOM || 22 || Added in 0.7.5-post-fixes.
 
|-
 
|-
| OBJECT_TEMP_ON_REZ || 23 || Added in 0.7.5-post-fixes.                                                  
+
| OBJECT_TEMP_ON_REZ || 23 || Added in 0.7.5-post-fixes.
 
|-
 
|-
 
| OBJECT_RENDER_WEIGHT || 24 ||
 
| OBJECT_RENDER_WEIGHT || 24 ||
Line 1,017: Line 1,028:
 
| OBJECT_CLICK_ACTION || 28 || Added in 0.9.0-post-fixes.
 
| OBJECT_CLICK_ACTION || 28 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| OBJECT_OMEGA || 29 || Added in 0.9.0-post-fixes.                                        
+
| OBJECT_OMEGA || 29 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| OBJECT_PRIM_COUNT || 30 || Added in 0.9.0-post-fixes.                                  
+
| OBJECT_PRIM_COUNT || 30 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| OBJECT_TOTAL_INVENTORY_COUNT || 31 || Added in 0.9.0-post-fixes.                        
+
| OBJECT_TOTAL_INVENTORY_COUNT || 31 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| OBJECT_REZZER_KEY || 32 || Added in 0.9.0-post-fixes.                                  
+
| OBJECT_REZZER_KEY || 32 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| OBJECT_GROUP_TAG || 33 || Added in 0.9.0-post-fixes.                                    
+
| OBJECT_GROUP_TAG || 33 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| OBJECT_TEMP_ATTACHED || 34 || Added in 0.9.0-post-fixes.                                
+
| OBJECT_TEMP_ATTACHED || 34 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| OBJECT_ATTACHED_SLOTS_AVAILABLE || 35 || Added in 0.9.0-post-fixes.                    
+
| OBJECT_ATTACHED_SLOTS_AVAILABLE || 35 || Added in 0.9.0-post-fixes.
 
|-
 
|-
| OPT_OTHER || -1 || Added in 0.7.5-post-fixes.                                                            
+
| OBJECT_CREATION_TIME || 36 || Added in 0.9.0.1 (Commit [http://opensimulator.org/viewgit/?a=commit&p=opensim&h=ab335b5926a91a6b527da80812fb2bf210639f8c ab335b])
 
|-
 
|-
| OPT_LEGACY_LINKSET || 0 || Added in 0.7.5-post-fixes.                                                    
+
| OBJECT_SELECT_COUNT || 37 || Added in 0.9.0.1 (Commit [http://opensimulator.org/viewgit/?a=commit&p=opensim&h=ab335b5926a91a6b527da80812fb2bf210639f8c ab335b])
 
|-
 
|-
| OPT_AVATAR || 1 || Added in 0.7.5-post-fixes.                                                            
+
| OBJECT_SIT_COUNT || 38 || Added in 0.9.0.1 (Commit [http://opensimulator.org/viewgit/?a=commit&p=opensim&h=ab335b5926a91a6b527da80812fb2bf210639f8c ab335b])
 
|-
 
|-
| OPT_CHARACTER || 2 || Added in 0.7.5-post-fixes.                                                        
+
| OBJECT_ANIMATED_COUNT || 39 || Added in 0.9.0.1 (Commit [http://opensimulator.org/viewgit/?a=commit&p=opensim&h=ab335b5926a91a6b527da80812fb2bf210639f8c ab335b])
 
|-
 
|-
| OPT_WALKABLE || 3 || Added in 0.7.5-post-fixes.                                                          
+
| OBJECT_ATTACHED_SLOTS_AVAILABLE || 40 || Added in 0.9.0.1 (Commit ab335b)
 
|-
 
|-
| OPT_STATIC_OBSTACLE || 4 || Added in 0.7.5-post-fixes.                                                  
+
| OPT_OTHER || -1 || Added in 0.7.5-post-fixes. //For pathfinding - unsupported
 
|-
 
|-
| OPT_MATERIAL_VOLUME || 5 || Added in 0.7.5-post-fixes.                                                  
+
| OPT_LEGACY_LINKSET || 0 || Added in 0.7.5-post-fixes. //For pathfinding - unsupported
 
|-
 
|-
| OPT_EXCLUSION_VOLUME || 6 || Added in 0.7.5-post-fixes.                                                  
+
| OPT_AVATAR || 1 || Added in 0.7.5-post-fixes. //For pathfinding - unsupported
 +
|-
 +
| OPT_CHARACTER || 2 || Added in 0.7.5-post-fixes. //For pathfinding - unsupported
 +
|-
 +
| OPT_WALKABLE || 3 || Added in 0.7.5-post-fixes. //For pathfinding - unsupported
 +
|-
 +
| OPT_STATIC_OBSTACLE || 4 || Added in 0.7.5-post-fixes. //For pathfinding - unsupported
 +
|-
 +
| OPT_MATERIAL_VOLUME || 5 || Added in 0.7.5-post-fixes. //For pathfinding - unsupported
 +
|-
 +
| OPT_EXCLUSION_VOLUME || 6 || Added in 0.7.5-post-fixes. //For pathfinding - unsupported
 
|-
 
|-
 
| AGENT_LIST_PARCEL || 1 ||  SL Server/12 12.04.30.255166 llGetAgentList
 
| AGENT_LIST_PARCEL || 1 ||  SL Server/12 12.04.30.255166 llGetAgentList
Line 1,052: Line 1,073:
 
|-
 
|-
 
| AGENT_LIST_REGION || 1 ||  SL Server/12 12.04.30.255166 llGetAgentList
 
| AGENT_LIST_REGION || 1 ||  SL Server/12 12.04.30.255166 llGetAgentList
 +
|-
 +
| AGENT_LIST_EXCLUDENPC || 0x4000000 || Added in 0.9.0.1-postfixes. // OpenSim only. Not in SL. This is a bit mask.
 
|-
 
|-
 
| ZERO_VECTOR || vector(0.0, 0.0, 0.0) ||
 
| ZERO_VECTOR || vector(0.0, 0.0, 0.0) ||
Line 1,120: Line 1,143:
 
|-
 
|-
 
| PARCEL_DETAILS_GROUP_SOUNDS || 8 || Added in 0.9.0-post-fixes.
 
| PARCEL_DETAILS_GROUP_SOUNDS || 8 || Added in 0.9.0-post-fixes.
 +
|-
 +
| PARCEL_DETAILS_CLAIMDATE || 10 ||
 
|-
 
|-
 
| CLICK_ACTION_NONE || 0 ||
 
| CLICK_ACTION_NONE || 0 ||
Line 1,195: Line 1,220:
 
| GRAVITY_MULTIPLIER || 8 || Added in 0.7.5-post-fixes.
 
| GRAVITY_MULTIPLIER || 8 || Added in 0.7.5-post-fixes.
 
|-
 
|-
| LSL_STATUS_OK || Integer(0) || extra constants for llSetPrimMediaParams
+
| LSL_STATUS_OK || 0 || extra constants for llSetPrimMediaParams
 
|-
 
|-
| LSL_STATUS_MALFORMED_PARAMS || Integer(1000) || extra constants for llSetPrimMediaParams
+
| LSL_STATUS_MALFORMED_PARAMS || 1000 || extra constants for llSetPrimMediaParams
 
|-
 
|-
| LSL_STATUS_TYPE_MISMATCH || Integer(1001) || extra constants for llSetPrimMediaParams
+
| LSL_STATUS_TYPE_MISMATCH || 1001 || extra constants for llSetPrimMediaParams
 
|-
 
|-
| LSL_STATUS_BOUNDS_ERROR || Integer(1002) || extra constants for llSetPrimMediaParams
+
| LSL_STATUS_BOUNDS_ERROR || 1002 || extra constants for llSetPrimMediaParams
 
|-
 
|-
| LSL_STATUS_NOT_FOUND || Integer(1003) || extra constants for llSetPrimMediaParams
+
| LSL_STATUS_NOT_FOUND || 1003 || extra constants for llSetPrimMediaParams
 
|-
 
|-
| LSL_STATUS_NOT_SUPPORTED || Integer(1004) || extra constants for llSetPrimMediaParams
+
| LSL_STATUS_NOT_SUPPORTED || 1004 || extra constants for llSetPrimMediaParams
 
|-
 
|-
| LSL_STATUS_INTERNAL_ERROR || Integer(1999) || extra constants for llSetPrimMediaParams
+
| LSL_STATUS_INTERNAL_ERROR || 1999 || extra constants for llSetPrimMediaParams
 
|-
 
|-
| LSL_STATUS_WHITELIST_FAILED || Integer(2001) || extra constants for llSetPrimMediaParams
+
| LSL_STATUS_WHITELIST_FAILED || 2001 || extra constants for llSetPrimMediaParams
 
|-
 
|-
 
| TEXTURE_BLANK || "5748decc-f629-461c-9a36-a35a221fe21f" ||
 
| TEXTURE_BLANK || "5748decc-f629-461c-9a36-a35a221fe21f" ||
Line 1,271: Line 1,296:
 
| OS_NPC_RUNNING || 4 ||
 
| OS_NPC_RUNNING || 4 ||
 
|-
 
|-
| OS_NPC_SIT_NOW || 0 ||                                                                                              
+
| OS_NPC_SIT_NOW || 0 ||
 
|-
 
|-
 
| OS_NPC_CREATOR_OWNED || 0x1 ||
 
| OS_NPC_CREATOR_OWNED || 0x1 ||
Line 1,278: Line 1,303:
 
|-
 
|-
 
| OS_NPC_SENSE_AS_AGENT || 0x4 ||
 
| OS_NPC_SENSE_AS_AGENT || 0x4 ||
 +
|-
 +
| OS_NPC_OBJECT_GROUP || 0x8 ||
 
|-
 
|-
 
| URL_REQUEST_GRANTED || "URL_REQUEST_GRANTED" ||
 
| URL_REQUEST_GRANTED || "URL_REQUEST_GRANTED" ||
Line 1,337: Line 1,364:
 
| JSON_INVALID || "\uFDD0" || Added in 0.9.0-post-fixes.
 
| JSON_INVALID || "\uFDD0" || Added in 0.9.0-post-fixes.
 
|-
 
|-
| JSON_OBJECT || "\uFDD1" || Added in 0.9.0-post-fixes.                                      
+
| JSON_OBJECT || "\uFDD1" || Added in 0.9.0-post-fixes.
 
|-
 
|-
| JSON_ARRAY || "\uFDD2" || Added in 0.9.0-post-fixes.                                        
+
| JSON_ARRAY || "\uFDD2" || Added in 0.9.0-post-fixes.
 
|-
 
|-
| JSON_NUMBER || "\uFDD3" || Added in 0.9.0-post-fixes.                                      
+
| JSON_NUMBER || "\uFDD3" || Added in 0.9.0-post-fixes.
 
|-
 
|-
| JSON_STRING || "\uFDD4" || Added in 0.9.0-post-fixes.                                      
+
| JSON_STRING || "\uFDD4" || Added in 0.9.0-post-fixes.
 
|-
 
|-
| JSON_NULL || "\uFDD5" || Added in 0.9.0-post-fixes.                                        
+
| JSON_NULL || "\uFDD5" || Added in 0.9.0-post-fixes.
 
|-
 
|-
| JSON_TRUE || "\uFDD6" || Added in 0.9.0-post-fixes.                                        
+
| JSON_TRUE || "\uFDD6" || Added in 0.9.0-post-fixes.
 
|-
 
|-
| JSON_FALSE || "\uFDD7" || Added in 0.9.0-post-fixes.                                        
+
| JSON_FALSE || "\uFDD7" || Added in 0.9.0-post-fixes.
 
|-
 
|-
| JSON_DELETE || "\uFDD8" || Added in 0.9.0-post-fixes.                                      
+
| JSON_DELETE || "\uFDD8" || Added in 0.9.0-post-fixes.
 
|-
 
|-
 
| JSON_APPEND || "-1" || Added in 0.9.0-post-fixes.
 
| JSON_APPEND || "-1" || Added in 0.9.0-post-fixes.
Line 1,366: Line 1,393:
 
|-
 
|-
 
| OSTPOBJ_SETROT || 0x4 || Added in 0.9.0-post-fixes. // the rotation is the final rotation, otherwise is a added rotation
 
| OSTPOBJ_SETROT || 0x4 || Added in 0.9.0-post-fixes. // the rotation is the final rotation, otherwise is a added rotation
 +
|-
 +
| WL_WATER_COLOR || 0 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_WATER_FOG_DENSITY_EXPONENT || 1 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_UNDERWATER_FOG_MODIFIER || 2 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_REFLECTION_WAVELET_SCALE || 3 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_FRESNEL_SCALE || 4 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_FRESNEL_OFFSET || 5 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_REFRACT_SCALE_ABOVE || 6 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_REFRACT_SCALE_BELOW || 7 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_BLUR_MULTIPLIER || 8 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_BIG_WAVE_DIRECTION || 9 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_LITTLE_WAVE_DIRECTION || 10 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_NORMAL_MAP_TEXTURE || 11 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_HORIZON || 12 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_HAZE_HORIZON || 13 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_BLUE_DENSITY || 14 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_HAZE_DENSITY || 15 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_DENSITY_MULTIPLIER || 16 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_DISTANCE_MULTIPLIER || 17 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_MAX_ALTITUDE || 18 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_SUN_MOON_COLOR || 19 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_AMBIENT || 20 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_EAST_ANGLE || 21 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_SUN_GLOW_FOCUS || 22 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_SUN_GLOW_SIZE || 23 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_SCENE_GAMMA || 24 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_STAR_BRIGHTNESS || 25 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_COLOR || 26 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_XY_DENSITY || 27 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_COVERAGE || 28 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_SCALE || 29 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_DETAIL_XY_DENSITY || 30 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_SCROLL_X || 31 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_SCROLL_Y || 32 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_SCROLL_Y_LOCK || 33 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_CLOUD_SCROLL_X_LOCK || 34 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_DRAW_CLASSIC_CLOUDS || 35 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 +
|-
 +
| WL_SUN_MOON_POSITION || 36 || Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
 
|-
 
|-
 
|}
 
|}

Latest revision as of 09:36, 19 October 2019

[edit] LSL Constants

These are extracted from OpenSimulator 0.9.1-Dev (commit #7479638e on 2018-10-25) and are in sync with Second Life Server/12 12.04.30.255166

Sources: LSL_Constants.cs (OpenSimulator source) for LSL and OSSL Constants
LL Wiki and SL Server/12 Release Notes and other sources used for comparison.

Constant Name Value Notes
TRUE 1
FALSE 0
STATUS_PHYSICS 1
STATUS_ROTATE_X 2
STATUS_ROTATE_Y 4
STATUS_ROTATE_Z 8
STATUS_PHANTOM 16
STATUS_SANDBOX 32
STATUS_BLOCK_GRAB 64
STATUS_DIE_AT_EDGE 128
STATUS_RETURN_AT_EDGE 256
STATUS_CAST_SHADOWS 512
STATUS_BLOCK_GRAB_OBJECT 1024 Added in 0.8.1-post-fixes.
AGENT 1
AGENT_BY_LEGACY_NAME 1
AGENT_BY_USERNAME 0x10
NPC 0x20
ACTIVE 2
PASSIVE 4
SCRIPTED 8
CONTROL_FWD 1
CONTROL_BACK 2
CONTROL_LEFT 4
CONTROL_RIGHT 8
CONTROL_UP 16
CONTROL_DOWN 32
CONTROL_ROT_LEFT 256
CONTROL_ROT_RIGHT 512
CONTROL_LBUTTON 268435456
CONTROL_ML_LBUTTON 1073741824
PERMISSION_DEBIT 2
PERMISSION_TAKE_CONTROLS 4
PERMISSION_REMAP_CONTROLS 8
PERMISSION_TRIGGER_ANIMATION 16
PERMISSION_ATTACH 32
PERMISSION_RELEASE_OWNERSHIP 64
PERMISSION_CHANGE_LINKS 128
PERMISSION_CHANGE_JOINTS 256
PERMISSION_CHANGE_PERMISSIONS 512
PERMISSION_TRACK_CAMERA 1024
PERMISSION_CONTROL_CAMERA 2048
PERMISSION_TELEPORT 4096 Added in 0.9.0-post-fixes.
PERMISSION_OVERRIDE_ANIMATIONS 0x8000 Added in 0.9.0-post-fixes.
AGENT_FLYING 0x1
AGENT_ATTACHMENTS 0x2
AGENT_SCRIPTED 0x4
AGENT_MOUSELOOK 0x8
AGENT_SITTING 0x10 (16)
AGENT_ON_OBJECT 0x20 (32)
AGENT_AWAY 0x40 (64)
AGENT_WALKING 0x80 (128)
AGENT_IN_AIR 0x100 (256)
AGENT_TYPING 0x200 (512)
AGENT_CROUCHING 0x400 (1024)
AGENT_BUSY 0x800 (2048)
AGENT_ALWAYS_RUN 0x1000 (4096)
AGENT_AUTOPILOT 0x2000 (8192) Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
AGENT_MALE 0x40000000 Added in 0.9.0-post-fixes. // Was 0x2000 (8192) before commit 7479638e on 2018-10-25.
PSYS_PART_INTERP_COLOR_MASK 1 http://wiki.secondlife.com/wiki/LlParticleSystem
PSYS_PART_INTERP_SCALE_MASK 2
PSYS_PART_BOUNCE_MASK 4
PSYS_PART_WIND_MASK 8
PSYS_PART_FOLLOW_SRC_MASK 16
PSYS_PART_FOLLOW_VELOCITY_MASK 32
PSYS_PART_TARGET_POS_MASK 64
PSYS_PART_TARGET_LINEAR_MASK 128
PSYS_PART_EMISSIVE_MASK 256
PSYS_PART_RIBBON_MASK 1024 Added in 0.8-post-fixes.
PSYS_PART_FLAGS 0
PSYS_PART_START_COLOR 1
PSYS_PART_START_ALPHA 2
PSYS_PART_END_COLOR 3
PSYS_PART_END_ALPHA 4
PSYS_PART_START_SCALE 5
PSYS_PART_END_SCALE 6
PSYS_PART_MAX_AGE 7
PSYS_SRC_ACCEL 8
PSYS_SRC_PATTERN 9
PSYS_SRC_INNERANGLE 10
PSYS_SRC_OUTERANGLE 11
PSYS_SRC_TEXTURE 12
PSYS_SRC_BURST_RATE 13
PSYS_SRC_BURST_PART_COUNT 15
PSYS_SRC_BURST_RADIUS 16
PSYS_SRC_BURST_SPEED_MIN 17
PSYS_SRC_BURST_SPEED_MAX 18
PSYS_SRC_MAX_AGE 19
PSYS_SRC_TARGET_KEY 20
PSYS_SRC_OMEGA 21
PSYS_SRC_ANGLE_BEGIN 22
PSYS_SRC_ANGLE_END 23
PSYS_PART_BLEND_FUNC_SOURCE 24 Added in 0.8-post-fixes.
PSYS_PART_BLEND_FUNC_DEST 25 Added in 0.8-post-fixes.
PSYS_PART_START_GLOW 26 Added in 0.8-post-fixes.
PSYS_PART_END_GLOW 27 Added in 0.8-post-fixes.
PSYS_PART_BF_ONE 0 Added in 0.8-post-fixes.
PSYS_PART_BF_ZERO 1 Added in 0.8-post-fixes.
PSYS_PART_BF_DEST_COLOR 2 Added in 0.8-post-fixes.
PSYS_PART_BF_SOURCE_COLOR 3 Added in 0.8-post-fixes.
PSYS_PART_BF_ONE_MINUS_DEST_COLOR 4 Added in 0.8-post-fixes.
PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR 5 Added in 0.8-post-fixes.
PSYS_PART_BF_SOURCE_ALPHA 7 Added in 0.8-post-fixes.
PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA 9 Added in 0.8-post-fixes.
PSYS_SRC_PATTERN_DROP 1
PSYS_SRC_PATTERN_EXPLODE 2
PSYS_SRC_PATTERN_ANGLE 4
PSYS_SRC_PATTERN_ANGLE_CONE 8
PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY 16
VEHICLE_TYPE_NONE 0
VEHICLE_TYPE_SLED 1
VEHICLE_TYPE_CAR 2
VEHICLE_TYPE_BOAT 3
VEHICLE_TYPE_AIRPLANE 4
VEHICLE_TYPE_BALLOON 5
VEHICLE_LINEAR_FRICTION_TIMESCALE 16
VEHICLE_ANGULAR_FRICTION_TIMESCALE 17
VEHICLE_LINEAR_MOTOR_DIRECTION 18
VEHICLE_LINEAR_MOTOR_OFFSET 20
VEHICLE_ANGULAR_MOTOR_DIRECTION 19
VEHICLE_HOVER_HEIGHT 24
VEHICLE_HOVER_EFFICIENCY 25
VEHICLE_HOVER_TIMESCALE 26
VEHICLE_BUOYANCY 27
VEHICLE_LINEAR_DEFLECTION_EFFICIENCY 28
VEHICLE_LINEAR_DEFLECTION_TIMESCALE 29
VEHICLE_LINEAR_MOTOR_TIMESCALE 30
VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE 31
VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY 32
VEHICLE_ANGULAR_DEFLECTION_TIMESCALE 33
VEHICLE_ANGULAR_MOTOR_TIMESCALE 34
VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE 35
VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY 36
VEHICLE_VERTICAL_ATTRACTION_TIMESCALE 37
VEHICLE_BANKING_EFFICIENCY 38
VEHICLE_BANKING_MIX 39
VEHICLE_BANKING_TIMESCALE 40
VEHICLE_REFERENCE_FRAME 44
VEHICLE_RANGE_BLOCK 45
VEHICLE_ROLL_FRAME 46
VEHICLE_FLAG_NO_DEFLECTION_UP 1
VEHICLE_FLAG_LIMIT_ROLL_ONLY 2
VEHICLE_FLAG_HOVER_WATER_ONLY 4
VEHICLE_FLAG_HOVER_TERRAIN_ONLY 8
VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT 16
VEHICLE_FLAG_HOVER_UP_ONLY 32
VEHICLE_FLAG_LIMIT_MOTOR_UP 64
VEHICLE_FLAG_MOUSELOOK_STEER 128
VEHICLE_FLAG_MOUSELOOK_BANK 256
VEHICLE_FLAG_CAMERA_DECOUPLED 512
VEHICLE_FLAG_NO_X 1024
VEHICLE_FLAG_NO_Y 2048
VEHICLE_FLAG_NO_Z 4096
VEHICLE_FLAG_LOCK_HOVER_HEIGHT 8192
VEHICLE_FLAG_NO_DEFLECTION 16392
VEHICLE_FLAG_LOCK_ROTATION 32784
INVENTORY_ALL -1
INVENTORY_NONE -1
INVENTORY_TEXTURE 0
INVENTORY_SOUND 1
INVENTORY_LANDMARK 3
INVENTORY_CLOTHING 5
INVENTORY_OBJECT 6
INVENTORY_NOTECARD 7
INVENTORY_SCRIPT 10
INVENTORY_BODYPART 13
INVENTORY_ANIMATION 20
INVENTORY_GESTURE 21
ATTACH_CHEST 1
ATTACH_HEAD 2
ATTACH_LSHOULDER 3
ATTACH_RSHOULDER 4
ATTACH_LHAND 5
ATTACH_RHAND 6
ATTACH_LFOOT 7
ATTACH_RFOOT 8
ATTACH_BACK 9
ATTACH_PELVIS 10
ATTACH_MOUTH 11
ATTACH_CHIN 12
ATTACH_LEAR 13
ATTACH_REAR 14
ATTACH_LEYE 15
ATTACH_REYE 16
ATTACH_NOSE 17
ATTACH_RUARM 18
ATTACH_RLARM 19
ATTACH_LUARM 20
ATTACH_LLARM 21
ATTACH_RHIP 22
ATTACH_RULEG 23
ATTACH_RLLEG 24
ATTACH_LHIP 25
ATTACH_LULEG 26
ATTACH_LLLEG 27
ATTACH_BELLY 28
ATTACH_RPEC 29
ATTACH_LPEC 30
ATTACH_LEFT_PEC 29 Added in 0.7.4-post-fixes. Same value as ATTACH_RPEC. See https://jira.secondlife.com/browse/SVC-580.
ATTACH_RIGHT_PEC 30 Added in 0.7.4-post-fixes. Same value as ATTACH_LPEC. See https://jira.secondlife.com/browse/SVC-580.
ATTACH_HUD_CENTER_2 31
ATTACH_HUD_TOP_RIGHT 32
ATTACH_HUD_TOP_CENTER 33
ATTACH_HUD_TOP_LEFT 34
ATTACH_HUD_CENTER_1 35
ATTACH_HUD_BOTTOM_LEFT 36
ATTACH_HUD_BOTTOM 37
ATTACH_HUD_BOTTOM_RIGHT 38
ATTACH_NECK 39 Added in 0.8-post-fixes.
ATTACH_AVATAR_CENTER 40 Added in 0.8-post-fixes.
ATTACH_LHAND_RING1 41 Added in 0.9.0-post-fixes.
ATTACH_RHAND_RING1 42 Added in 0.9.0-post-fixes.
ATTACH_TAIL_BASE 43 Added in 0.9.0-post-fixes.
ATTACH_TAIL_TIP 44 Added in 0.9.0-post-fixes.
ATTACH_LWING 45 Added in 0.9.0-post-fixes.
ATTACH_RWING 46 Added in 0.9.0-post-fixes.
ATTACH_FACE_JAW 47 Added in 0.9.0-post-fixes.
ATTACH_FACE_LEAR 48 Added in 0.9.0-post-fixes.
ATTACH_FACE_REAR 49 Added in 0.9.0-post-fixes.
ATTACH_FACE_LEYE 50 Added in 0.9.0-post-fixes.
ATTACH_FACE_REYE 51 Added in 0.9.0-post-fixes.
ATTACH_FACE_TONGUE 52 Added in 0.9.0-post-fixes.
ATTACH_GROIN 53 Added in 0.9.0-post-fixes.
ATTACH_HIND_LFOOT 54 Added in 0.9.0-post-fixes.
ATTACH_HIND_RFOOT 55 Added in 0.9.0-post-fixes.
OS_ATTACH_MSG_ALL -65535 Added in 0.7.5-post-fixes.
OS_ATTACH_MSG_INVERT_POINTS 1 Added in 0.7.5-post-fixes.
OS_ATTACH_MSG_OBJECT_CREATOR 2 Added in 0.7.5-post-fixes.
OS_ATTACH_MSG_SCRIPT_CREATOR 4 Added in 0.7.5-post-fixes.
LAND_LEVEL 0
LAND_RAISE 1
LAND_LOWER 2
LAND_SMOOTH 3
LAND_NOISE 4
LAND_REVERT 5
LAND_SMALL_BRUSH 1
LAND_MEDIUM_BRUSH 2
LAND_LARGE_BRUSH 3
DATA_ONLINE 1
DATA_NAME 2
DATA_BORN 3
DATA_RATING 4
DATA_SIM_POS 5
DATA_SIM_STATUS 6
DATA_SIM_RATING 7
DATA_PAYINFO 8
DATA_SIM_RELEASE 128
ANIM_ON 1
LOOP 2
REVERSE 4
PING_PONG 8
SMOOTH 16
ROTATE 32
SCALE 64
ALL_SIDES -1
LINK_SET -1
LINK_ROOT 1
LINK_ALL_OTHERS -2
LINK_ALL_CHILDREN -3
LINK_THIS -4
CHANGED_INVENTORY 1
CHANGED_COLOR 2
CHANGED_SHAPE 4
CHANGED_SCALE 8
CHANGED_TEXTURE 16
CHANGED_LINK 32
CHANGED_ALLOWED_DROP 64
CHANGED_OWNER 128
CHANGED_REGION 256
CHANGED_TELEPORT 512
CHANGED_REGION_RESTART 1024
CHANGED_REGION_START 1024 //LL Changed the constant from CHANGED_REGION_RESTART
CHANGED_MEDIA 2048
CHANGED_ANIMATION 16384 Available in OpenSim only.
CHANGED_POSITION 32768 Added in 0.9.0-post-fixes. Available in OpenSim only.
TYPE_INVALID 0
TYPE_INTEGER 1
TYPE_FLOAT 2
TYPE_STRING 3
TYPE_KEY 4
TYPE_VECTOR 5
TYPE_ROTATION 6
REMOTE_DATA_CHANNEL 1
REMOTE_DATA_REQUEST 2
REMOTE_DATA_REPLY 3
HTTP_METHOD 0
HTTP_MIMETYPE 1
HTTP_BODY_MAXLENGTH 2
HTTP_VERIFY_CERT 3
HTTP_VERBOSE_THROTTLE 4 Added in 0.7.5-post-fixes
HTTP_CUSTOM_HEADER 5 Added in 0.7.5-post-fixes
HTTP_PRAGMA_NO_CACHE 6 Added in 0.7.5-post-fixes
CONTENT_TYPE_TEXT 0 (text/plain) Added in 0.7.5-post-fixes.
CONTENT_TYPE_HTML 1 (text/html) Added in 0.7.5-post-fixes.
CONTENT_TYPE_XML 2 (application/xml) Added in 0.7.5-post-fixes.
CONTENT_TYPE_XHTML 3 (application/xhtml+xml) Added in 0.7.5-post-fixes.
CONTENT_TYPE_ATOM 4 (application/atom+xml) Added in 0.7.5-post-fixes.
CONTENT_TYPE_JSON 5 (application/json) Added in 0.7.5-post-fixes.
CONTENT_TYPE_LLSD 6 (application/llsd+xml) Added in 0.7.5-post-fixes.
CONTENT_TYPE_FORM 7 (application/x-www-form-urlencoded) Added in 0.7.5-post-fixes.
CONTENT_TYPE_RSS 8 (application/rss+xml) Added in 0.7.5-post-fixes.
PRIM_MATERIAL 2
PRIM_PHYSICS 3
PRIM_TEMP_ON_REZ 4
PRIM_PHANTOM 5
PRIM_POSITION 6
PRIM_SIZE 7
PRIM_ROTATION 8
PRIM_TYPE 9
PRIM_TEXTURE 17
PRIM_COLOR 18
PRIM_BUMP_SHINY 19
PRIM_FULLBRIGHT 20
PRIM_FLEXIBLE 21
PRIM_TEXGEN 22
PRIM_POINT_LIGHT 23
PRIM_CAST_SHADOWS 24 // Not implemented, here for completeness sake
PRIM_GLOW 25
PRIM_TEXT 26
PRIM_NAME 27
PRIM_DESC 28
PRIM_ROT_LOCAL 29
PRIM_PHYSICS_SHAPE_TYPE 30 Added in 0.9.0-post-fixes.
PRIM_PHYSICS_MATERIAL 31 Added in 0.9.0-post-fixes. // apparently not on SL wiki
PRIM_OMEGA 32
PRIM_POS_LOCAL 33
PRIM_LINK_TARGET 34
PRIM_SLICE 35 Added in 0.7.5-post-fixes.
PRIM_SPECULAR 36 Added in 0.8-post-fixes.
PRIM_NORMAL 37 Added in 0.8-post-fixes.
PRIM_ALPHA_MODE 38 Added in 0.8-post-fixes.
PRIM_ALLOW_UNSIT 39 Added in 0.9.0-post-fixes. // experiences related. unsupported
PRIM_SCRIPTED_SIT_ONLY 40 Added in 0.9.0-post-fixes. // experiences related. unsupported
PRIM_SIT_TARGET 41 Added in 0.9.0-post-fixes.
PRIM_ALPHA_MODE_NONE 0 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
PRIM_ALPHA_MODE_BLEND 1 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
PRIM_ALPHA_MODE_MASK 2 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
PRIM_ALPHA_MODE_EMISSIVE 3 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
PRIM_TEXGEN_DEFAULT 0
PRIM_TEXGEN_PLANAR 1
PRIM_TYPE_BOX 0
PRIM_TYPE_CYLINDER 1
PRIM_TYPE_PRISM 2
PRIM_TYPE_SPHERE 3
PRIM_TYPE_TORUS 4
PRIM_TYPE_TUBE 5
PRIM_TYPE_RING 6
PRIM_TYPE_SCULPT 7
PRIM_HOLE_DEFAULT 0
PRIM_HOLE_CIRCLE 16
PRIM_HOLE_SQUARE 32
PRIM_HOLE_TRIANGLE 48
PRIM_MATERIAL_STONE 0
PRIM_MATERIAL_METAL 1
PRIM_MATERIAL_GLASS 2
PRIM_MATERIAL_WOOD 3
PRIM_MATERIAL_FLESH 4
PRIM_MATERIAL_PLASTIC 5
PRIM_MATERIAL_RUBBER 6
PRIM_MATERIAL_LIGHT 7
PRIM_SHINY_NONE 0
PRIM_SHINY_LOW 1
PRIM_SHINY_MEDIUM 2
PRIM_SHINY_HIGH 3
PRIM_BUMP_NONE 0
PRIM_BUMP_BRIGHT 1
PRIM_BUMP_DARK 2
PRIM_BUMP_WOOD 3
PRIM_BUMP_BARK 4
PRIM_BUMP_BRICKS 5
PRIM_BUMP_CHECKER 6
PRIM_BUMP_CONCRETE 7
PRIM_BUMP_TILE 8
PRIM_BUMP_STONE 9
PRIM_BUMP_DISKS 10
PRIM_BUMP_GRAVEL 11
PRIM_BUMP_BLOBS 12
PRIM_BUMP_SIDING 13
PRIM_BUMP_LARGETILE 14
PRIM_BUMP_STUCCO 15
PRIM_BUMP_SUCTION 16
PRIM_BUMP_WEAVE 17
PRIM_SCULPT_TYPE_SPHERE 1
PRIM_SCULPT_TYPE_TORUS 2
PRIM_SCULPT_TYPE_PLANE 3
PRIM_SCULPT_TYPE_CYLINDER 4
PRIM_SCULPT_FLAG_INVERT 0x40 (64)
PRIM_SCULPT_FLAG_MIRROR 0x80 (128)
PRIM_SCULPT_TYPE_MASK 0x07 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25)
PRIM_PHYSICS_SHAPE_PRIM 0 Added in 0.9.0-post-fixes.
PRIM_PHYSICS_SHAPE_NONE 1 Added in 0.9.0-post-fixes.
PRIM_PHYSICS_SHAPE_CONVEX 2 Added in 0.9.0-post-fixes.
PROFILE_NONE 0
PROFILE_SCRIPT_MEMORY 1
MASK_BASE 0
MASK_OWNER 1
MASK_GROUP 2
MASK_EVERYONE 3
MASK_NEXT 4
PERM_TRANSFER 8192
PERM_MODIFY 16384
PERM_COPY 32768
PERM_MOVE 524288
PERM_ALL 2147483647
PARCEL_MEDIA_COMMAND_STOP 0
PARCEL_MEDIA_COMMAND_PAUSE 1
PARCEL_MEDIA_COMMAND_PLAY 2
PARCEL_MEDIA_COMMAND_LOOP 3
PARCEL_MEDIA_COMMAND_TEXTURE 4
PARCEL_MEDIA_COMMAND_URL 5
PARCEL_MEDIA_COMMAND_TIME 6
PARCEL_MEDIA_COMMAND_AGENT 7
PARCEL_MEDIA_COMMAND_UNLOAD 8
PARCEL_MEDIA_COMMAND_AUTO_ALIGN 9
PARCEL_MEDIA_COMMAND_TYPE 10
PARCEL_MEDIA_COMMAND_SIZE 11
PARCEL_MEDIA_COMMAND_DESC 12
PARCEL_FLAG_ALLOW_FLY 0x1 //parcel allows flying
PARCEL_FLAG_ALLOW_SCRIPTS 0x2 //parcel allows outside scripts
PARCEL_FLAG_ALLOW_LANDMARK 0x8 //parcel allows landmarks to be created
PARCEL_FLAG_ALLOW_TERRAFORM 0x10 //parcel allows anyone to terraform the land
PARCEL_FLAG_ALLOW_DAMAGE 0x20 //parcel allows damage
PARCEL_FLAG_ALLOW_CREATE_OBJECTS 0x40 //parcel allows anyone to create objects
PARCEL_FLAG_USE_ACCESS_GROUP 0x100 // parcel limits access to a group
PARCEL_FLAG_USE_ACCESS_LIST 0x200 //parcel limits access to a list of residents
PARCEL_FLAG_USE_BAN_LIST 0x400 //parcel uses a ban list, including restricting access based on payment info
PARCEL_FLAG_USE_LAND_PASS_LIST 0x800 // parcel allows passes to be purchased
PARCEL_FLAG_LOCAL_SOUND_ONLY 0x8000 // parcel restricts spatialized sound to the parcel
PARCEL_FLAG_RESTRICT_PUSHOBJECT 0x200000 //parcel restricts llPushObject
PARCEL_FLAG_ALLOW_GROUP_SCRIPTS 0x2000000 //parcel allows scripts owned by group
PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS 0x4000000 //parcel allows group object creation
PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY 0x8000000 // parcel allows objects owned by any user to enter
PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY 0x10000000 //parcel allows with the same group to enter
REGION_FLAG_ALLOW_DAMAGE 0x1 // region is entirely damage enabled
REGION_FLAG_FIXED_SUN 0x10 // region has a fixed sun position
REGION_FLAG_BLOCK_TERRAFORM 0x40 //region terraforming disabled
REGION_FLAG_SANDBOX 0x100 //region is a sandbox
REGION_FLAG_DISABLE_COLLISIONS 0x1000 //region has disabled collisions
REGION_FLAG_DISABLE_PHYSICS 0x4000 // region has disabled physics
REGION_FLAG_BLOCK_FLY 0x80000 //region blocks flying
REGION_FLAG_ALLOW_DIRECT_TELEPORT 0x100000 // region allows direct teleports
REGION_FLAG_RESTRICT_PUSHOBJECT 0x400000 //region restricts llPushObject
ESTATE_ACCESS_ALLOWED_AGENT_ADD 0
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE 1
ESTATE_ACCESS_ALLOWED_GROUP_ADD 2
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE 3
ESTATE_ACCESS_BANNED_AGENT_ADD 4
ESTATE_ACCESS_BANNED_AGENT_REMOVE 5
PAY_HIDE -1
PAY_DEFAULT -2
NULL_KEY "00000000-0000-0000-0000-000000000000"
EOF "\n\n\n"
PI 3.14159274f SL= 3.141592653, Viewer= 3.1415926536
TWO_PI 6.28318548f SL= 6.283185307 Viewer= 6.2831853072
PI_BY_TWO 1.57079637f SL= 1.570796326 Viewer= 1.5707963268
DEG_TO_RAD 0.01745329238f SL= 0.0174532924
RAD_TO_DEG 57.29578f SL=57.29578
SQRT2 1.414213538f SL= 1.4142135623 Viewer= 1.4142135624
STRING_TRIM_HEAD 1
STRING_TRIM_TAIL 2
STRING_TRIM 3
LIST_STAT_RANGE 0
LIST_STAT_MIN 1
LIST_STAT_MAX 2
LIST_STAT_MEAN 3
LIST_STAT_MEDIAN 4
LIST_STAT_STD_DEV 5
LIST_STAT_SUM 6
LIST_STAT_SUM_SQUARES 7
LIST_STAT_NUM_COUNT 8
LIST_STAT_GEOMETRIC_MEAN 9
LIST_STAT_HARMONIC_MEAN 100
PARCEL_COUNT_TOTAL 0
PARCEL_COUNT_OWNER 1
PARCEL_COUNT_GROUP 2
PARCEL_COUNT_OTHER 3
PARCEL_COUNT_SELECTED 4
PARCEL_COUNT_TEMP 5
DEBUG_CHANNEL 0x7FFFFFFF
PUBLIC_CHANNEL 0x00000000
OBJECT_UNKNOWN_DETAIL -1
OBJECT_NAME 1
OBJECT_DESC 2
OBJECT_POS 3
OBJECT_ROT 4
OBJECT_VELOCITY 5
OBJECT_OWNER 6
OBJECT_GROUP 7
OBJECT_CREATOR 8
OBJECT_RUNNING_SCRIPT_COUNT 9
OBJECT_TOTAL_SCRIPT_COUNT 10
OBJECT_SCRIPT_MEMORY 11
OBJECT_SCRIPT_TIME 12
OBJECT_PRIM_EQUIVALENCE 13
OBJECT_SERVER_COST 14
OBJECT_STREAMING_COST 15
OBJECT_PHYSICS_COST 16
OBJECT_CHARACTER_TIME 17 Added in 0.7.5-post-fixes.
OBJECT_ROOT 18 Added in 0.7.5-post-fixes.
OBJECT_ATTACHED_POINT 19 Added in 0.7.5-post-fixes.
OBJECT_PATHFINDING_TYPE 20 Added in 0.7.5-post-fixes.
OBJECT_PHYSICS 21 Added in 0.7.5-post-fixes.
OBJECT_PHANTOM 22 Added in 0.7.5-post-fixes.
OBJECT_TEMP_ON_REZ 23 Added in 0.7.5-post-fixes.
OBJECT_RENDER_WEIGHT 24
OBJECT_HOVER_HEIGHT 25
OBJECT_BODY_SHAPE_TYPE 26
OBJECT_LAST_OWNER_ID 27
OBJECT_CLICK_ACTION 28 Added in 0.9.0-post-fixes.
OBJECT_OMEGA 29 Added in 0.9.0-post-fixes.
OBJECT_PRIM_COUNT 30 Added in 0.9.0-post-fixes.
OBJECT_TOTAL_INVENTORY_COUNT 31 Added in 0.9.0-post-fixes.
OBJECT_REZZER_KEY 32 Added in 0.9.0-post-fixes.
OBJECT_GROUP_TAG 33 Added in 0.9.0-post-fixes.
OBJECT_TEMP_ATTACHED 34 Added in 0.9.0-post-fixes.
OBJECT_ATTACHED_SLOTS_AVAILABLE 35 Added in 0.9.0-post-fixes.
OBJECT_CREATION_TIME 36 Added in 0.9.0.1 (Commit ab335b)
OBJECT_SELECT_COUNT 37 Added in 0.9.0.1 (Commit ab335b)
OBJECT_SIT_COUNT 38 Added in 0.9.0.1 (Commit ab335b)
OBJECT_ANIMATED_COUNT 39 Added in 0.9.0.1 (Commit ab335b)
OBJECT_ATTACHED_SLOTS_AVAILABLE 40 Added in 0.9.0.1 (Commit ab335b)
OPT_OTHER -1 Added in 0.7.5-post-fixes. //For pathfinding - unsupported
OPT_LEGACY_LINKSET 0 Added in 0.7.5-post-fixes. //For pathfinding - unsupported
OPT_AVATAR 1 Added in 0.7.5-post-fixes. //For pathfinding - unsupported
OPT_CHARACTER 2 Added in 0.7.5-post-fixes. //For pathfinding - unsupported
OPT_WALKABLE 3 Added in 0.7.5-post-fixes. //For pathfinding - unsupported
OPT_STATIC_OBSTACLE 4 Added in 0.7.5-post-fixes. //For pathfinding - unsupported
OPT_MATERIAL_VOLUME 5 Added in 0.7.5-post-fixes. //For pathfinding - unsupported
OPT_EXCLUSION_VOLUME 6 Added in 0.7.5-post-fixes. //For pathfinding - unsupported
AGENT_LIST_PARCEL 1 SL Server/12 12.04.30.255166 llGetAgentList
AGENT_LIST_PARCEL_OWNER 1 SL Server/12 12.04.30.255166 llGetAgentList
AGENT_LIST_REGION 1 SL Server/12 12.04.30.255166 llGetAgentList
AGENT_LIST_EXCLUDENPC 0x4000000 Added in 0.9.0.1-postfixes. // OpenSim only. Not in SL. This is a bit mask.
ZERO_VECTOR vector(0.0, 0.0, 0.0)
ZERO_ROTATION rotation(0.0, 0.0, 0.0, 1.0)
CAMERA_PITCH 0
CAMERA_FOCUS_OFFSET 1
CAMERA_FOCUS_OFFSET_X 2
CAMERA_FOCUS_OFFSET_Y 3
CAMERA_FOCUS_OFFSET_Z 4
CAMERA_POSITION_LAG 5
CAMERA_FOCUS_LAG 6
CAMERA_DISTANCE 7
CAMERA_BEHINDNESS_ANGLE 8
CAMERA_BEHINDNESS_LAG 9
CAMERA_POSITION_THRESHOLD 10
CAMERA_FOCUS_THRESHOLD 11
CAMERA_ACTIVE 12
CAMERA_POSITION 13
CAMERA_POSITION_X 14
CAMERA_POSITION_Y 15
CAMERA_POSITION_Z 16
CAMERA_FOCUS 17
CAMERA_FOCUS_X 18
CAMERA_FOCUS_Y 19
CAMERA_FOCUS_Z 20
CAMERA_POSITION_LOCKED 21
CAMERA_FOCUS_LOCKED 22
PARCEL_DETAILS_NAME 0
PARCEL_DETAILS_DESC 1
PARCEL_DETAILS_OWNER 2
PARCEL_DETAILS_GROUP 3
PARCEL_DETAILS_AREA 4
PARCEL_DETAILS_ID 5
PARCEL_DETAILS_SEE_AVATARS 6 Implemented in 0.9.0-post-fixes.
PARCEL_DETAILS_ANY_AVATAR_SOUNDS 7 Added in 0.9.0-post-fixes.
PARCEL_DETAILS_GROUP_SOUNDS 8 Added in 0.9.0-post-fixes.
PARCEL_DETAILS_CLAIMDATE 10
CLICK_ACTION_NONE 0
CLICK_ACTION_TOUCH 0
CLICK_ACTION_SIT 1
CLICK_ACTION_BUY 2
CLICK_ACTION_PAY 3
CLICK_ACTION_OPEN 4
CLICK_ACTION_PLAY 5
CLICK_ACTION_OPEN_MEDIA 6
CLICK_ACTION_ZOOM 7 Added in 0.7.5-post-fixes.
TOUCH_INVALID_FACE -1
TOUCH_INVALID_TEXCOORD vector(-1.0, -1.0, 0.0)
TOUCH_INVALID_VECTOR ZERO_VECTOR
PRIM_MEDIA_ALT_IMAGE_ENABLE 0
PRIM_MEDIA_CONTROLS 1
PRIM_MEDIA_CURRENT_URL 2
PRIM_MEDIA_HOME_URL 3
PRIM_MEDIA_AUTO_LOOP 4
PRIM_MEDIA_AUTO_PLAY 5
PRIM_MEDIA_AUTO_SCALE 6
PRIM_MEDIA_AUTO_ZOOM 7
PRIM_MEDIA_FIRST_CLICK_INTERACT 8
PRIM_MEDIA_WIDTH_PIXELS 9
PRIM_MEDIA_HEIGHT_PIXELS 10
PRIM_MEDIA_WHITELIST_ENABLE 11
PRIM_MEDIA_WHITELIST 12
PRIM_MEDIA_PERMS_INTERACT 13
PRIM_MEDIA_PERMS_CONTROL 14
PRIM_MEDIA_CONTROLS_STANDARD 0
PRIM_MEDIA_CONTROLS_MINI 1
PRIM_MEDIA_PERM_NONE 0
PRIM_MEDIA_PERM_OWNER 1
PRIM_MEDIA_PERM_GROUP 2
PRIM_MEDIA_PERM_ANYONE 4
DENSITY 1 Added in 0.7.5-post-fixes.
FRICTION 2 Added in 0.7.5-post-fixes.
RESTITUTION 4 Added in 0.7.5-post-fixes.
GRAVITY_MULTIPLIER 8 Added in 0.7.5-post-fixes.
LSL_STATUS_OK 0 extra constants for llSetPrimMediaParams
LSL_STATUS_MALFORMED_PARAMS 1000 extra constants for llSetPrimMediaParams
LSL_STATUS_TYPE_MISMATCH 1001 extra constants for llSetPrimMediaParams
LSL_STATUS_BOUNDS_ERROR 1002 extra constants for llSetPrimMediaParams
LSL_STATUS_NOT_FOUND 1003 extra constants for llSetPrimMediaParams
LSL_STATUS_NOT_SUPPORTED 1004 extra constants for llSetPrimMediaParams
LSL_STATUS_INTERNAL_ERROR 1999 extra constants for llSetPrimMediaParams
LSL_STATUS_WHITELIST_FAILED 2001 extra constants for llSetPrimMediaParams
TEXTURE_BLANK "5748decc-f629-461c-9a36-a35a221fe21f"
TEXTURE_DEFAULT "89556747-24cb-43ed-920b-47caed15465f"
TEXTURE_PLYWOOD "89556747-24cb-43ed-920b-47caed15465f"
TEXTURE_TRANSPARENT "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"
TEXTURE_MEDIA "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"
STATS_TIME_DILATION 0
STATS_SIM_FPS 1
STATS_PHYSICS_FPS 2
STATS_AGENT_UPDATES 3
STATS_ROOT_AGENTS 4
STATS_CHILD_AGENTS 5
STATS_TOTAL_PRIMS 6
STATS_ACTIVE_PRIMS 7
STATS_FRAME_MS 8
STATS_NET_MS 9
STATS_PHYSICS_MS 10
STATS_IMAGE_MS 11
STATS_OTHER_MS 12
STATS_IN_PACKETS_PER_SECOND 13
STATS_OUT_PACKETS_PER_SECOND 14
STATS_UNACKED_BYTES 15
STATS_AGENT_MS 16
STATS_PENDING_DOWNLOADS 17
STATS_PENDING_UPLOADS 18
STATS_ACTIVE_SCRIPTS 19
STATS_SCRIPT_LPS 20
OS_NPC_FLY 0
OS_NPC_NO_FLY 1
OS_NPC_LAND_AT_TARGET 2
OS_NPC_RUNNING 4
OS_NPC_SIT_NOW 0
OS_NPC_CREATOR_OWNED 0x1
OS_NPC_NOT_OWNED 0x2
OS_NPC_SENSE_AS_AGENT 0x4
OS_NPC_OBJECT_GROUP 0x8
URL_REQUEST_GRANTED "URL_REQUEST_GRANTED"
URL_REQUEST_DENIED "URL_REQUEST_DENIED"
RC_REJECT_TYPES 2 SL/LL value = 0
RC_DATA_FLAGS 4 SL/LL value = 2
RC_MAX_HITS 8 SL/LL value = 3
RC_DETECT_PHANTOM 16 SL/LL value = 1
RC_REJECT_AGENTS 2 SL/LL value = 1
RC_REJECT_PHYSICAL 4 SL/LL value = 2
RC_REJECT_NONPHYSICAL 8 SL/LL value = 4
RC_REJECT_LAND 16 SL/LL value = 8
RC_GET_NORMAL 2 SL/LL value = 1
RC_GET_ROOT_KEY 4 SL/LL value = 2
RC_GET_LINK_NUM 8 SL/LL value = 4
RCERR_CAST_TIME_EXCEEDED 1 SL/LL value = 3
RCERR_SIM_PERF_LOW -2 SL/LL value = -2 incomplete
RCERR_UNKNOWN -1 SL/LL value = -1 incomplete
KFM_MODE 1 Added in 0.7.5-post-fixes.
KFM_LOOP 1 Added in 0.7.5-post-fixes.
KFM_REVERSE 3 Added in 0.7.5-post-fixes.
KFM_FORWARD 0 Added in 0.7.5-post-fixes.
KFM_PING_PONG 2 Added in 0.7.5-post-fixes.
KFM_DATA 2 Added in 0.7.5-post-fixes.
KFM_TRANSLATION 2 Added in 0.7.5-post-fixes.
KFM_ROTATION 1 Added in 0.7.5-post-fixes.
KFM_COMMAND 0 Added in 0.7.5-post-fixes.
KFM_CMD_PLAY 0 Added in 0.7.5-post-fixes.
KFM_CMD_STOP 1 Added in 0.7.5-post-fixes.
KFM_CMD_PAUSE 2 Added in 0.7.5-post-fixes.
JSON_INVALID "\uFDD0" Added in 0.9.0-post-fixes.
JSON_OBJECT "\uFDD1" Added in 0.9.0-post-fixes.
JSON_ARRAY "\uFDD2" Added in 0.9.0-post-fixes.
JSON_NUMBER "\uFDD3" Added in 0.9.0-post-fixes.
JSON_STRING "\uFDD4" Added in 0.9.0-post-fixes.
JSON_NULL "\uFDD5" Added in 0.9.0-post-fixes.
JSON_TRUE "\uFDD6" Added in 0.9.0-post-fixes.
JSON_FALSE "\uFDD7" Added in 0.9.0-post-fixes.
JSON_DELETE "\uFDD8" Added in 0.9.0-post-fixes.
JSON_APPEND "-1" Added in 0.9.0-post-fixes.
OS_LISTEN_REGEX_NAME 0x1 Added in 0.7.5-post-fixes.
OS_LISTEN_REGEX_MESSAGE 0x2 Added in 0.7.5-post-fixes.
OSTPOBJ_NONE 0x0 Added in 0.9.0-post-fixes.
OSTPOBJ_STOPATTARGET 0x1 Added in 0.9.0-post-fixes. // stops at destination
OSTPOBJ_STOPONFAIL 0x2 Added in 0.9.0-post-fixes. // stops at jump point if tp fails
OSTPOBJ_SETROT 0x4 Added in 0.9.0-post-fixes. // the rotation is the final rotation, otherwise is a added rotation
WL_WATER_COLOR 0 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_WATER_FOG_DENSITY_EXPONENT 1 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_UNDERWATER_FOG_MODIFIER 2 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_REFLECTION_WAVELET_SCALE 3 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_FRESNEL_SCALE 4 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_FRESNEL_OFFSET 5 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_REFRACT_SCALE_ABOVE 6 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_REFRACT_SCALE_BELOW 7 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_BLUR_MULTIPLIER 8 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_BIG_WAVE_DIRECTION 9 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_LITTLE_WAVE_DIRECTION 10 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_NORMAL_MAP_TEXTURE 11 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_HORIZON 12 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_HAZE_HORIZON 13 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_BLUE_DENSITY 14 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_HAZE_DENSITY 15 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_DENSITY_MULTIPLIER 16 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_DISTANCE_MULTIPLIER 17 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_MAX_ALTITUDE 18 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_SUN_MOON_COLOR 19 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_AMBIENT 20 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_EAST_ANGLE 21 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_SUN_GLOW_FOCUS 22 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_SUN_GLOW_SIZE 23 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_SCENE_GAMMA 24 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_STAR_BRIGHTNESS 25 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_COLOR 26 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_XY_DENSITY 27 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_COVERAGE 28 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_SCALE 29 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_DETAIL_XY_DENSITY 30 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_SCROLL_X 31 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_SCROLL_Y 32 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_SCROLL_Y_LOCK 33 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_CLOUD_SCROLL_X_LOCK 34 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_DRAW_CLASSIC_CLOUDS 35 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
WL_SUN_MOON_POSITION 36 Added in 0.9.1-Dev (commit #7479638e on 2018-10-25).
Personal tools
General
About This Wiki