Unofficial LSL Reference

[[constants:start]]


Unofficial LSL reference

User Tools

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

Forgotten your password? Get a new one: Set new password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

constants:start [2023-04-09 01:56 SLT]
sei New SIM_STAT_* constants
constants:start [2025-02-02 02:59 SLT] (current)
sei Update to 0.0.20250202000
Line 4: Line 4:
     Edit /​L/​KWDB/​local/​wikiconst.txt.in instead **     Edit /​L/​KWDB/​local/​wikiconst.txt.in instead **
  * Generated by LSL2 Derived Files Generator.  * Generated by LSL2 Derived Files Generator.
- * Database version: 0.0.20230409000; output module version: 0.0.20170615000+ * Database version: 0.0.20250202000; output module version: 0.0.20170615000
 ##}} ##}}
 ====== Constants ====== ====== Constants ======
Line 27: Line 27:
 [[AGENT_ALWAYS_RUN]]\\ [[AGENT_ALWAYS_RUN]]\\
 [[AGENT_ATTACHMENTS]]\\ [[AGENT_ATTACHMENTS]]\\
 +[[AGENT_AUTOMATED]]\\
 [[AGENT_AUTOPILOT]]\\ [[AGENT_AUTOPILOT]]\\
 [[AGENT_AWAY]]\\ [[AGENT_AWAY]]\\
Line 33: Line 34:
 [[AGENT_BY_USERNAME]]\\ [[AGENT_BY_USERNAME]]\\
 [[AGENT_CROUCHING]]\\ [[AGENT_CROUCHING]]\\
 +[[AGENT_FLOATING_VIA_SCRIPTED_ATTACHMENT]]\\
 [[AGENT_FLYING]]\\ [[AGENT_FLYING]]\\
 [[AGENT_IN_AIR]]\\ [[AGENT_IN_AIR]]\\
Line 46: Line 48:
 [[ALL_SIDES]]\\ [[ALL_SIDES]]\\
 [[ANIM_ON]]\\ [[ANIM_ON]]\\
 +[[ATTACH_ANY_HUD]]\\
 [[ATTACH_AVATAR_CENTER]]\\ [[ATTACH_AVATAR_CENTER]]\\
 [[ATTACH_BACK]]\\ [[ATTACH_BACK]]\\
Line 106: Line 109:
 [[AVOID_DYNAMIC_OBSTACLES]]\\ [[AVOID_DYNAMIC_OBSTACLES]]\\
 [[AVOID_NONE]]\\ [[AVOID_NONE]]\\
 +\\
 +**B**\\
 +[[BEACON_MAP]]\\
 \\ \\
 **C**\\ **C**\\
Line 130: Line 136:
 [[CHANGED_REGION]]\\ [[CHANGED_REGION]]\\
 [[CHANGED_REGION_START]]\\ [[CHANGED_REGION_START]]\\
 +[[CHANGED_RENDER_MATERIAL]]\\
 [[CHANGED_SCALE]]\\ [[CHANGED_SCALE]]\\
 [[CHANGED_SHAPE]]\\ [[CHANGED_SHAPE]]\\
Line 157: Line 164:
 [[CLICK_ACTION_BUY]]\\ [[CLICK_ACTION_BUY]]\\
 [[CLICK_ACTION_DISABLED]]\\ [[CLICK_ACTION_DISABLED]]\\
 +[[CLICK_ACTION_IGNORE]]\\
 [[CLICK_ACTION_NONE]]\\ [[CLICK_ACTION_NONE]]\\
 [[CLICK_ACTION_OPEN]]\\ [[CLICK_ACTION_OPEN]]\\
Line 165: Line 173:
 [[CLICK_ACTION_TOUCH]]\\ [[CLICK_ACTION_TOUCH]]\\
 [[CLICK_ACTION_ZOOM]]\\ [[CLICK_ACTION_ZOOM]]\\
 +[[COMBAT_CHANNEL]]\\
 +[[COMBAT_LOG_ID]]\\
 [[CONTENT_TYPE_ATOM]]\\ [[CONTENT_TYPE_ATOM]]\\
 [[CONTENT_TYPE_FORM]]\\ [[CONTENT_TYPE_FORM]]\\
Line 186: Line 196:
 \\ \\
 **D**\\ **D**\\
 +[[DAMAGEABLE]]\\
 +[[DAMAGE_TYPE_ACID]]\\
 +[[DAMAGE_TYPE_BLUDGEONING]]\\
 +[[DAMAGE_TYPE_COLD]]\\
 +[[DAMAGE_TYPE_ELECTRIC]]\\
 +[[DAMAGE_TYPE_EMOTIONAL]]\\
 +[[DAMAGE_TYPE_FIRE]]\\
 +[[DAMAGE_TYPE_FORCE]]\\
 +[[DAMAGE_TYPE_GENERIC]]\\
 +[[DAMAGE_TYPE_IMPACT]]\\
 +[[DAMAGE_TYPE_NECROTIC]]\\
 +[[DAMAGE_TYPE_PIERCING]]\\
 +[[DAMAGE_TYPE_POISON]]\\
 +[[DAMAGE_TYPE_PSYCHIC]]\\
 +[[DAMAGE_TYPE_RADIANT]]\\
 +[[DAMAGE_TYPE_SLASHING]]\\
 +[[DAMAGE_TYPE_SONIC]]\\
 [[DATA_BORN]]\\ [[DATA_BORN]]\\
 [[DATA_NAME]]\\ [[DATA_NAME]]\\
Line 197: Line 224:
 [[DEG_TO_RAD]]\\ [[DEG_TO_RAD]]\\
 [[DENSITY]]\\ [[DENSITY]]\\
 +[[DEREZ_DIE]]\\
 +[[DEREZ_MAKE_TEMP]]\\
 \\ \\
 **E**\\ **E**\\
Line 224: Line 253:
 **F**\\ **F**\\
 [[FALSE]]\\ [[FALSE]]\\
 +[[FILTER_FLAGS]]\\
 +[[FILTER_FLAG_HUDS]]\\
 +[[FILTER_INCLUDE]]\\
 [[FORCE_DIRECT_PATH]]\\ [[FORCE_DIRECT_PATH]]\\
 [[FRICTION]]\\ [[FRICTION]]\\
 \\ \\
 **G**\\ **G**\\
 +[[GAME_CONTROL_AXIS_LEFTX]]\\
 +[[GAME_CONTROL_AXIS_LEFTY]]\\
 +[[GAME_CONTROL_AXIS_RIGHTX]]\\
 +[[GAME_CONTROL_AXIS_RIGHTY]]\\
 +[[GAME_CONTROL_AXIS_TRIGGERLEFT]]\\
 +[[GAME_CONTROL_AXIS_TRIGGERRIGHT]]\\
 +[[GAME_CONTROL_BUTTON_A]]\\
 +[[GAME_CONTROL_BUTTON_B]]\\
 +[[GAME_CONTROL_BUTTON_BACK]]\\
 +[[GAME_CONTROL_BUTTON_DPAD_DOWN]]\\
 +[[GAME_CONTROL_BUTTON_DPAD_LEFT]]\\
 +[[GAME_CONTROL_BUTTON_DPAD_RIGHT]]\\
 +[[GAME_CONTROL_BUTTON_DPAD_UP]]\\
 +[[GAME_CONTROL_BUTTON_GUIDE]]\\
 +[[GAME_CONTROL_BUTTON_LEFTSHOULDER]]\\
 +[[GAME_CONTROL_BUTTON_LEFTSTICK]]\\
 +[[GAME_CONTROL_BUTTON_MISC1]]\\
 +[[GAME_CONTROL_BUTTON_PADDLE1]]\\
 +[[GAME_CONTROL_BUTTON_PADDLE2]]\\
 +[[GAME_CONTROL_BUTTON_PADDLE3]]\\
 +[[GAME_CONTROL_BUTTON_PADDLE4]]\\
 +[[GAME_CONTROL_BUTTON_RIGHTSHOULDER]]\\
 +[[GAME_CONTROL_BUTTON_RIGHTSTICK]]\\
 +[[GAME_CONTROL_BUTTON_START]]\\
 +[[GAME_CONTROL_BUTTON_TOUCHPAD]]\\
 +[[GAME_CONTROL_BUTTON_X]]\\
 +[[GAME_CONTROL_BUTTON_Y]]\\
 [[GCNP_RADIUS]]\\ [[GCNP_RADIUS]]\\
 [[GCNP_STATIC]]\\ [[GCNP_STATIC]]\\
Line 264: Line 323:
 [[INVENTORY_GESTURE]]\\ [[INVENTORY_GESTURE]]\\
 [[INVENTORY_LANDMARK]]\\ [[INVENTORY_LANDMARK]]\\
 +[[INVENTORY_MATERIAL]]\\
 [[INVENTORY_NONE]]\\ [[INVENTORY_NONE]]\\
 [[INVENTORY_NOTECARD]]\\ [[INVENTORY_NOTECARD]]\\
Line 301: Line 361:
 <wrap important>​[[LAND_LARGE_BRUSH]]</​wrap>​\\ <wrap important>​[[LAND_LARGE_BRUSH]]</​wrap>​\\
 [[LAND_LEVEL]]\\ [[LAND_LEVEL]]\\
 +<​HTML></​div><​div style="​float:​left;​width:​32%;​margin-right:​1.9%"></​HTML>​
 [[LAND_LOWER]]\\ [[LAND_LOWER]]\\
 <wrap important>​[[LAND_MEDIUM_BRUSH]]</​wrap>​\\ <wrap important>​[[LAND_MEDIUM_BRUSH]]</​wrap>​\\
Line 312: Line 373:
 [[LINKSETDATA_ENOKEY]]\\ [[LINKSETDATA_ENOKEY]]\\
 [[LINKSETDATA_EPROTECTED]]\\ [[LINKSETDATA_EPROTECTED]]\\
 +[[LINKSETDATA_MULTIDELETE]]\\
 [[LINKSETDATA_NOTFOUND]]\\ [[LINKSETDATA_NOTFOUND]]\\
 [[LINKSETDATA_NOUPDATE]]\\ [[LINKSETDATA_NOUPDATE]]\\
Line 319: Line 381:
 [[LINK_ALL_CHILDREN]]\\ [[LINK_ALL_CHILDREN]]\\
 [[LINK_ALL_OTHERS]]\\ [[LINK_ALL_OTHERS]]\\
-<​HTML></​div><​div style="​float:​left;​width:​32%;​margin-right:​1.9%"></​HTML>​ 
 [[LINK_ROOT]]\\ [[LINK_ROOT]]\\
 [[LINK_SET]]\\ [[LINK_SET]]\\
Line 343: Line 404:
 \\ \\
 **N**\\ **N**\\
 +[[NAK]]\\
 [[NULL_KEY]]\\ [[NULL_KEY]]\\
 \\ \\
Line 356: Line 418:
 [[OBJECT_CREATION_TIME]]\\ [[OBJECT_CREATION_TIME]]\\
 [[OBJECT_CREATOR]]\\ [[OBJECT_CREATOR]]\\
 +[[OBJECT_DAMAGE]]\\
 +[[OBJECT_DAMAGE_TYPE]]\\
 [[OBJECT_DESC]]\\ [[OBJECT_DESC]]\\
 [[OBJECT_GROUP]]\\ [[OBJECT_GROUP]]\\
 [[OBJECT_GROUP_TAG]]\\ [[OBJECT_GROUP_TAG]]\\
 +[[OBJECT_HEALTH]]\\
 [[OBJECT_HOVER_HEIGHT]]\\ [[OBJECT_HOVER_HEIGHT]]\\
 [[OBJECT_LAST_OWNER_ID]]\\ [[OBJECT_LAST_OWNER_ID]]\\
Line 517: Line 582:
 [[PRIM_BUMP_WOOD]]\\ [[PRIM_BUMP_WOOD]]\\
 <wrap important>​[[PRIM_CAST_SHADOWS]]</​wrap>​\\ <wrap important>​[[PRIM_CAST_SHADOWS]]</​wrap>​\\
 +[[PRIM_CLICK_ACTION]]\\
 [[PRIM_COLOR]]\\ [[PRIM_COLOR]]\\
 +[[PRIM_DAMAGE]]\\
 [[PRIM_DESC]]\\ [[PRIM_DESC]]\\
 [[PRIM_FLEXIBLE]]\\ [[PRIM_FLEXIBLE]]\\
 [[PRIM_FULLBRIGHT]]\\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H]]\\
 [[PRIM_SCULPT_TYPE_PLANE]]\\ [[PRIM_SCULPT_TYPE_PLANE]]\\
 [[PRIM_SCULPT_TYPE_SPHERE]]\\ [[PRIM_SCULPT_TYPE_SPHERE]]\\
Line 590: Line 672:
 [[PRIM_SHINY_MEDIUM]]\\ [[PRIM_SHINY_MEDIUM]]\\
 [[PRIM_SHINY_NONE]]\\ [[PRIM_SHINY_NONE]]\\
 +[[PRIM_SIT_FLAGS]]\\
 [[PRIM_SIT_TARGET]]\\ [[PRIM_SIT_TARGET]]\\
 [[PRIM_SIZE]]\\ [[PRIM_SIZE]]\\
Line 617: Line 700:
 [[PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR]]\\ [[PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR]]\\
 [[PSYS_PART_BF_SOURCE_ALPHA]]\\ [[PSYS_PART_BF_SOURCE_ALPHA]]\\
-<​HTML></​div><​div style="​float:​left;​width:​32%"></​HTML>​ 
 [[PSYS_PART_BF_SOURCE_COLOR]]\\ [[PSYS_PART_BF_SOURCE_COLOR]]\\
 +<​HTML></​div><​div style="​float:​left;​width:​32%"></​HTML>​
 [[PSYS_PART_BF_ZERO]]\\ [[PSYS_PART_BF_ZERO]]\\
 [[PSYS_PART_BLEND_FUNC_DEST]]\\ [[PSYS_PART_BLEND_FUNC_DEST]]\\
Line 708: Line 791:
 [[REGION_FLAG_RESTRICT_PUSHOBJECT]]\\ [[REGION_FLAG_RESTRICT_PUSHOBJECT]]\\
 [[REGION_FLAG_SANDBOX]]\\ [[REGION_FLAG_SANDBOX]]\\
-[[REMOTE_DATA_CHANNEL]]\\ +<wrap important>​[[REMOTE_DATA_CHANNEL]]</​wrap>​\\ 
-[[REMOTE_DATA_REPLY]]\\ +<wrap important>​[[REMOTE_DATA_REPLY]]</​wrap>​\\ 
-[[REMOTE_DATA_REQUEST]]\\+<wrap important>​[[REMOTE_DATA_REQUEST]]</​wrap>​\\
 [[REQUIRE_LINE_OF_SIGHT]]\\ [[REQUIRE_LINE_OF_SIGHT]]\\
 [[RESTITUTION]]\\ [[RESTITUTION]]\\
 [[REVERSE]]\\ [[REVERSE]]\\
 +[[REZ_ACCEL]]\\
 +[[REZ_DAMAGE]]\\
 +[[REZ_DAMAGE_TYPE]]\\
 +[[REZ_FLAGS]]\\
 +[[REZ_FLAG_BLOCK_GRAB_OBJECT]]\\
 +[[REZ_FLAG_DIE_ON_COLLIDE]]\\
 +[[REZ_FLAG_DIE_ON_NOENTRY]]\\
 +[[REZ_FLAG_NO_COLLIDE_FAMILY]]\\
 +[[REZ_FLAG_NO_COLLIDE_OWNER]]\\
 +[[REZ_FLAG_PHANTOM]]\\
 +[[REZ_FLAG_PHYSICAL]]\\
 +[[REZ_FLAG_TEMP]]\\
 +[[REZ_LOCK_AXES]]\\
 +[[REZ_OMEGA]]\\
 +[[REZ_PARAM]]\\
 +[[REZ_PARAM_STRING]]\\
 +[[REZ_POS]]\\
 +[[REZ_ROT]]\\
 +[[REZ_SOUND]]\\
 +[[REZ_SOUND_COLLIDE]]\\
 +[[REZ_VEL]]\\
 [[ROTATE]]\\ [[ROTATE]]\\
 \\ \\
Line 746: Line 850:
 [[SIM_STAT_SPARE_MS]]\\ [[SIM_STAT_SPARE_MS]]\\
 [[SIM_STAT_UNACKED_BYTES]]\\ [[SIM_STAT_UNACKED_BYTES]]\\
 +[[SIT_FLAG_ALLOW_UNSIT]]\\
 +[[SIT_FLAG_NO_COLLIDE]]\\
 +[[SIT_FLAG_NO_DAMAGE]]\\
 +[[SIT_FLAG_SCRIPTED_ONLY]]\\
 +[[SIT_FLAG_SIT_TARGET]]\\
 [[SIT_INVALID_AGENT]]\\ [[SIT_INVALID_AGENT]]\\
 [[SIT_INVALID_LINK]]\\ [[SIT_INVALID_LINK]]\\
Line 769: Line 878:
 [[SKY_PLANET]]\\ [[SKY_PLANET]]\\
 <wrap important>​[[SKY_RAYLEIGH_CONFIG]]</​wrap>​\\ <wrap important>​[[SKY_RAYLEIGH_CONFIG]]</​wrap>​\\
 +[[SKY_REFLECTION_PROBE_AMBIANCE]]\\
 [[SKY_REFRACTION]]\\ [[SKY_REFRACTION]]\\
 [[SKY_STAR_BRIGHTNESS]]\\ [[SKY_STAR_BRIGHTNESS]]\\
Line 819: Line 929:
 [[TP_ROUTING_FREE]]\\ [[TP_ROUTING_FREE]]\\
 [[TP_ROUTING_LANDINGP]]\\ [[TP_ROUTING_LANDINGP]]\\
 +[[TRANSFER_BAD_OPTS]]\\
 +[[TRANSFER_BAD_ROOT]]\\
 +[[TRANSFER_DEST]]\\
 +[[TRANSFER_FLAGS]]\\
 +[[TRANSFER_FLAG_COPY]]\\
 +[[TRANSFER_FLAG_RESERVED]]\\
 +[[TRANSFER_FLAG_TAKE]]\\
 +[[TRANSFER_NO_ATTACHMENT]]\\
 +[[TRANSFER_NO_ITEMS]]\\
 +[[TRANSFER_NO_PERMS]]\\
 +[[TRANSFER_NO_TARGET]]\\
 +[[TRANSFER_OK]]\\
 +[[TRANSFER_THROTTLE]]\\
 [[TRAVERSAL_TYPE]]\\ [[TRAVERSAL_TYPE]]\\
 [[TRAVERSAL_TYPE_FAST]]\\ [[TRAVERSAL_TYPE_FAST]]\\
Line 848: Line 971:
 [[VEHICLE_BANKING_TIMESCALE]]\\ [[VEHICLE_BANKING_TIMESCALE]]\\
 [[VEHICLE_BUOYANCY]]\\ [[VEHICLE_BUOYANCY]]\\
 +[[VEHICLE_FLAG_BLOCK_INTERFERENCE]]\\
 [[VEHICLE_FLAG_CAMERA_DECOUPLED]]\\ [[VEHICLE_FLAG_CAMERA_DECOUPLED]]\\
 [[VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT]]\\ [[VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT]]\\