Sync experience script stuff from future branch~
This commit is contained in:
@@ -54,6 +54,9 @@ http_response http_response(key request_id, integer status, list metad
|
||||
http_request http_request(key id, string method, string body):Triggered when task receives an http request against a public URL
|
||||
transaction_result transaction_result(key id, integer success, string data): Triggered when currency is given to task
|
||||
path_update path_update(integer type, list reserved):Triggered when the state of a pathfinder character changes. Note; "list reserved" is not currently used
|
||||
experience_permissions experience_permissions(key agent): Triggered when agent has approved an experience permissions request. This may be through interaction with the experience permission dialog or the experience profile, or automatically if the agent has previously approved the experience.
|
||||
experience_permissions_denied experience_permissions_denied(key agent, integer reason): Triggered when agent has denied experience permission. reason is the reason for denial; one of the Experience Tools XP_ERROR_* errors flags.
|
||||
|
||||
|
||||
# integer constants
|
||||
[word .1, .1, .5]
|
||||
@@ -65,11 +68,11 @@ STATUS_ROTATE_X Passed in the llSetStatus library function. If FALSE, o
|
||||
STATUS_ROTATE_Y Passed in the llSetStatus library function. If FALSE, object doesn't rotate around local Y axis
|
||||
STATUS_ROTATE_Z Passed in the llSetStatus library function. If FALSE, object doesn't rotate around local Z axis
|
||||
STATUS_SANDBOX Passed in the llSetStatus library function. If TRUE, object can't cross region boundaries or move more than 10 meters from its start location
|
||||
STATUS_BLOCK_GRAB Passed in the llSetStatus library function. If TRUE, object can't be grabbed and physically dragged
|
||||
STATUS_BLOCK_GRAB_OBJECT This status flag keeps the object from being moved by grabs. This flag applies to the entire linkset
|
||||
STATUS_BLOCK_GRAB Passed in the llSetStatus library function. If TRUE, root prim of linkset (or unlinked prim) can't be grabbed and physically dragged
|
||||
STATUS_DIE_AT_EDGE Passed in the llSetStatus library function. If TRUE, objects that reach the edge of the world just die:rather than teleporting back to the owner
|
||||
STATUS_RETURN_AT_EDGE Passed in the llSetStatus library function. If TRUE, script rezzed objects that reach the edge of the world:are returned rather than killed:STATUS_RETURN_AT_EDGE trumps STATUS_DIE_AT_EDGE if both are set
|
||||
STATUS_CAST_SHADOWS Passed in the llSetStatus library function. If TRUE, object casts shadows on other objects
|
||||
STATUS_BLOCK_GRAB_OBJECT Passed in the llSetStatus library function. If TRUE, no prims in linkset can be grabbed or physically dragged
|
||||
|
||||
AGENT Passed in llSensor library function to look for other Agents; DEPRECATED: Use AGENT_BY_LEGACY_NAME
|
||||
AGENT_BY_LEGACY_NAME Passed in llSensor library function to look for other Agents by legacy name
|
||||
@@ -150,15 +153,6 @@ PSYS_PART_EMISSIVE_MASK
|
||||
PSYS_PART_TARGET_LINEAR_MASK
|
||||
PSYS_PART_RIBBON_MASK
|
||||
|
||||
PSYS_PART_BF_ONE
|
||||
PSYS_PART_BF_ZERO
|
||||
PSYS_PART_BF_DEST_COLOR
|
||||
PSYS_PART_BF_SOURCE_COLOR
|
||||
PSYS_PART_BF_ONE_MINUS_DEST_COLOR
|
||||
PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR
|
||||
PSYS_PART_BF_SOURCE_ALPHA
|
||||
PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA
|
||||
|
||||
PSYS_SRC_PATTERN
|
||||
PSYS_SRC_INNERANGLE Deprecated -- Use PSYS_SRC_ANGLE_BEGIN
|
||||
PSYS_SRC_OUTERANGLE Deprecated -- Use PSYS_SRC_ANGLE_END
|
||||
@@ -180,6 +174,14 @@ PSYS_SRC_PATTERN_EXPLODE
|
||||
PSYS_SRC_PATTERN_ANGLE
|
||||
PSYS_SRC_PATTERN_ANGLE_CONE
|
||||
PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY
|
||||
PSYS_PART_BF_ONE
|
||||
PSYS_PART_BF_ZERO
|
||||
PSYS_PART_BF_DEST_COLOR
|
||||
PSYS_PART_BF_SOURCE_COLOR
|
||||
PSYS_PART_BF_ONE_MINUS_DEST_COLOR
|
||||
PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR
|
||||
PSYS_PART_BF_SOURCE_ALPHA
|
||||
PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA
|
||||
|
||||
OBJECT_UNKNOWN_DETAIL Returned by llGetObjectDetails when passed an invalid object parameter type
|
||||
OBJECT_HOVER_HEIGHT This is a flag used with llGetObjectDetails to get hover height of the avatar. If no data is available, 0.0 is returned.
|
||||
@@ -404,8 +406,6 @@ REMOTE_DATA_REQUEST Value of event_type in remote_event if X
|
||||
REMOTE_DATA_REPLY Value of event_type in remote_event if XML-RPC reply is received
|
||||
|
||||
|
||||
PRIM_NAME Sets the prim's name
|
||||
PRIM_DESC Sets the prim's description
|
||||
PRIM_TYPE Followed by PRIM_TYPE_BOX, PRIM_TYPE_CYLINDER, PRIM_TYPE_PRISM, PRIM_TYPE_SPHERE, PRIM_TYPE_TORUS, PRIM_TYPE_TUBE, or PRIM_TYPE_SCULPT and their arguments
|
||||
PRIM_MATERIAL Followed by PRIM_MATERIAL_STONE, PRIM_MATERIAL_METAL, PRIM_MATERIAL_GLASS, PRIM_MATERIAL_WOOD, PRIM_MATERIAL_FLESH, PRIM_MATERIAL_PLASTIC, or PRIM_MATERIAL_RUBBER
|
||||
PRIM_PHYSICS Sets physics to TRUE or FALSE
|
||||
@@ -417,19 +417,26 @@ PRIM_CAST_SHADOWS DEPRECATED. Takes 1 parameter, an intege
|
||||
PRIM_POSITION Sets primitive position to a vector position
|
||||
PRIM_SIZE Sets primitive size to a vector size
|
||||
PRIM_ROTATION Sets primitive rotation
|
||||
PRIM_TEXT Used to get or set the object's floating text.
|
||||
PRIM_TEXTURE Followed by an integer face, key id, vector repeats, vector offsets,:and float rotation in radians
|
||||
PRIM_COLOR Followed by an integer face, vector color, and float alpha
|
||||
PRIM_BUMP_SHINY Followed by an integer face, one of PRIM_SHINY_NONE, PRIM_SHINY_LOW,:PRIM_SHINY_MEDIUM, or PRIM_SHINY_HIGH,:and one of PRIM_BUMP_NONE, PRIM_BUMP_BRIGHT, PRIM_BUMP_DARK, etc
|
||||
PRIM_FULLBRIGHT Followed by an integer face, and TRUE or FALSE
|
||||
PRIM_TEXGEN Followed by an integer face, and one of PRIM_TEXGEN_DEFAULT or PRIM_TEXGEN_PLANAR
|
||||
PRIM_GLOW Followed by an integer face, and a float from 0.0 to 1.0 specifying glow amount
|
||||
PRIM_POS_LOCAL Sets the prim's local position
|
||||
PRIM_TEXT Used to get or set the object's floating text.
|
||||
PRIM_NAME Sets the prim's name
|
||||
PRIM_DESC Sets the prim's description
|
||||
PRIM_ROT_LOCAL Sets the prim's local rotation
|
||||
PRIM_PHYSICS_SHAPE_TYPE For primitive physics shape type. Followed with either PRIM_PHYSICS_SHAPE_PRIM, PRIM_PHYSICS_SHAPE_NONE or PRIM_PHYSICS_SHAPE_CONVEX.
|
||||
PRIM_OMEGA Makes the object spin at the specified axis and rate
|
||||
PRIM_POS_LOCAL Sets the prim's local position
|
||||
PRIM_LINK_TARGET Used to get or set multiple links with a single PrimParameters call.
|
||||
PRIM_SLICE Get and set the 'slice' parameter of all shapes. Takes a vector parameter of the form <start_slice, end_slice, 0>
|
||||
|
||||
PRIM_PHYSICS_SHAPE_PRIM Use the normal prim shape for physics (this is the default for all non-mesh objects)
|
||||
PRIM_PHYSICS_SHAPE_NONE Use the convex hull of the prim shape for physics (this is the default for mesh objects)
|
||||
PRIM_PHYSICS_SHAPE_CONVEX Ignore this prim in the physics shape. This cannot be applied to the root prim.
|
||||
|
||||
PRIM_TYPE_BOX Followed by integer hole shape, vector cut, float hollow, vector twist,:vector top size, and vector top shear
|
||||
PRIM_TYPE_CYLINDER Followed by integer hole shape, vector cut, float hollow, vector twist,:vector top size, and vector top shear
|
||||
PRIM_TYPE_PRISM Followed by integer hole shape, vector cut, float hollow, vector twist,:vector top size, and vector top shear
|
||||
@@ -489,11 +496,6 @@ PRIM_SCULPT_TYPE_MASK Mask used to determine stitching type
|
||||
PRIM_SCULPT_FLAG_INVERT Flag to specify that the surface normals should be inverted
|
||||
PRIM_SCULPT_FLAG_MIRROR Flag to specify that the prim should be reflected along X axis
|
||||
|
||||
PRIM_PHYSICS_SHAPE_TYPE For primitive physics shape type. Followed with either PRIM_PHYSICS_SHAPE_PRIM, PRIM_PHYSICS_SHAPE_NONE or PRIM_PHYSICS_SHAPE_CONVEX.
|
||||
PRIM_PHYSICS_SHAPE_PRIM Use the normal prim shape for physics (this is the default for all non-mesh objects)
|
||||
PRIM_PHYSICS_SHAPE_NONE Use the convex hull of the prim shape for physics (this is the default for mesh objects)
|
||||
PRIM_PHYSICS_SHAPE_CONVEX Ignore this prim in the physics shape. This cannot be applied to the root prim.
|
||||
|
||||
PRIM_SPECULAR Used to get or set the specular map texture settings of a prim's face.
|
||||
PRIM_NORMAL Used to get or set the normal map texture settings of a prim's face.
|
||||
|
||||
@@ -519,7 +521,7 @@ PARCEL_MEDIA_COMMAND_STOP Stop media stream
|
||||
PARCEL_MEDIA_COMMAND_PAUSE Pause media stream
|
||||
PARCEL_MEDIA_COMMAND_PLAY Play media stream
|
||||
PARCEL_MEDIA_COMMAND_LOOP Loop media stream
|
||||
PARCEL_MEDIA_COMMAND_LOOP_SET Used to get or set the parcel's media loop duration
|
||||
PARCEL_MEDIA_COMMAND_LOOP_SET Used to get or set the parcel's media loop duration.
|
||||
PARCEL_MEDIA_COMMAND_TEXTURE Get or set the parcel's media texture
|
||||
PARCEL_MEDIA_COMMAND_URL Get or set the parcel's media url
|
||||
PARCEL_MEDIA_COMMAND_TYPE Get or set the parcel's media mimetype
|
||||
@@ -672,12 +674,12 @@ RCERR_CAST_TIME_EXCEEDED Returned by llCastRay() when the raycast f
|
||||
RCERR_SIM_PERF_LOW Returned by llCastRay() when the raycast failed because simulator performance is low.
|
||||
RCERR_UNKNOWN Returned by llCastRay() when the raycast failed for an unspecified reason.
|
||||
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_ADD Used with llManageEstateAccess to add a group to this estate's allowed groups list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE Used with llManageEstateAccess to remove a group from this estate's allowed groups list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's banned residents list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's banned residents list.
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_ADD Passed to llManageEstateAccess to add the agent to this estate's Allowed Residents list
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE Passed to llManageEstateAccess to remove the agent from this estate's Allowed Residents list
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_ADD Passed to llManageEstateAccess to add the group to this estate's Allowed groups list
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE Passed to llManageEstateAccess to remove the group from this estate's Allowed groups list
|
||||
ESTATE_ACCESS_BANNED_AGENT_ADD Passed to llManageEstateAccess to add the agent to this estate's Banned residents list
|
||||
ESTATE_ACCESS_BANNED_AGENT_REMOVE Passed to llManageEstateAccess to remove the agent from this estate's Banned residents list
|
||||
|
||||
DENSITY For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the density.
|
||||
FRICTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the friction.
|
||||
@@ -690,6 +692,7 @@ KFM_COMMAND Option for llSetKeyframedMotion(), followe
|
||||
KFM_CMD_PLAY Option for llSetKeyframedMotion(), used after KFM_COMMAND to play the motion.
|
||||
KFM_CMD_STOP Option for llSetKeyframedMotion(), used after KFM_COMMAND to stop the motion.
|
||||
KFM_CMD_PAUSE Option for llSetKeyframedMotion(), used after KFM_COMMAND to pause the motion.
|
||||
#KFM_CMD_SET_MODE TODO: add documentation
|
||||
KFM_MODE Option for llSetKeyframedMotion(), used to specify the playback mode, followed by one of KFM_FORWARD, KFM_LOOP, KFM_PING_PONG or KFM_REVERSE.
|
||||
KFM_FORWARD Option for llSetKeyframedMotion(), used after KFM_MODE to specify the forward playback mode.
|
||||
KFM_LOOP Option for llSetKeyframedMotion(), used after KFM_MODE to specify the loop playback mode.
|
||||
@@ -735,7 +738,7 @@ PU_FAILURE_NO_NAVMESH Triggered if no navmesh is available for the re
|
||||
PU_FAILURE_DYNAMIC_PATHFINDING_DISABLED Triggered when a character enters a region with dynamic pathfinding disabled.
|
||||
PU_FAILURE_PARCEL_UNREACHABLE Triggered when a character failed to enter a parcel because it is not allowed to enter, e.g. because the parcel is already full or because object entry was disabled after the navmesh was baked.
|
||||
|
||||
CHARACTER_TYPE Specifies which walkability coefficient will be used by this character.
|
||||
CHARACTER_TYPE Specifies which walkability coefficient will be used by this character. Used in combination with one of the character type flags.
|
||||
CHARACTER_TYPE_A Used for character types that you prefer move in a way consistent with humanoids.
|
||||
CHARACTER_TYPE_B Used for character types that you prefer move in a way consistent with wild animals or off road vehicles.
|
||||
CHARACTER_TYPE_C Used for mechanical character types or road going vehicles.
|
||||
@@ -920,6 +923,26 @@ TEXTURE_TRANSPARENT UUID for the "White - Transparent" texture
|
||||
URL_REQUEST_GRANTED Used with http_request when a public URL is successfully granted
|
||||
URL_REQUEST_DENIED Used with http_request when a public URL is not available
|
||||
|
||||
XP_ERROR_NONE No error was detected
|
||||
XP_ERROR_THROTTLED The call failed due to too many recent calls.
|
||||
XP_ERROR_EXPERIENCES_DISABLED The region currently has experiences disabled.
|
||||
XP_ERROR_INVALID_PARAMETERS One of the string arguments was too big to fit in the key-value store.
|
||||
XP_ERROR_NOT_PERMITTED This experience is not allowed to run on the current region.
|
||||
XP_ERROR_NO_EXPERIENCE This script is not associated with an experience.
|
||||
XP_ERROR_NOT_FOUND The sim was unable to verify the validity of the experience. Retrying after a short wait is advised.
|
||||
XP_ERROR_INVALID_EXPERIENCE The script is associated with an experience that no longer exists.
|
||||
XP_ERROR_EXPERIENCE_DISABLED The experience owner has temporarily disabled the experience.
|
||||
XP_ERROR_EXPERIENCE_SUSPENDED The experience has been suspended by Linden Customer Support.
|
||||
XP_ERROR_QUOTA_EXCEEDED An attempted write data to the key-value store failed due to the data quota being met.
|
||||
XP_ERROR_STORE_DISABLED The key-value store is currently disabled on this region.
|
||||
XP_ERROR_STORAGE_EXCEPTION Unable to communicate with the key-value store.
|
||||
XP_ERROR_KEY_NOT_FOUND The requested key does not exist.
|
||||
XP_ERROR_RETRY_UPDATE A checked update failed due to an out of date request.
|
||||
XP_ERROR_MATURITY_EXCEEDED The request failed due to agent content preferences.
|
||||
XP_ERROR_UNKNOWN_ERROR Other unknown error.
|
||||
XP_ERROR_INVALID_PARAMETERS One of the string arguments was too big to fit in the key-value store.
|
||||
|
||||
|
||||
# float constants
|
||||
[word .3, .1, .5]
|
||||
PI 3.1415926535897932384626433832795
|
||||
|
||||
Reference in New Issue
Block a user