phoenix-firestorm/indra/newview/app_settings/scriptlibrary_ossl.xml

444 lines
39 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<script_library name="ossl">
<keywords>
<float_constant name="CAMERA_POSITION_X" desc="Sets camera x position in region coordinates" />
<float_constant name="CAMERA_POSITION_Y" desc="Sets camera y position in region coordinates" />
<float_constant name="CAMERA_POSITION_Z" desc="Sets camera z position in region coordinates" />
<float_constant name="CAMERA_FOCUS_X" desc="Sets camera x focus (target position) in region coordinates" />
<float_constant name="CAMERA_FOCUS_Y" desc="Sets camera y focus (target position) in region coordinates" />
<float_constant name="CAMERA_FOCUS_Z" desc="Sets camera z focus (target position) in region coordinates" />
<integer_constant name="OS_ATTACH_MSG_ALL" desc="Send the message to attachments on every point" />
<integer_constant name="OS_ATTACH_MSG_INVERT_POINTS" desc="Invert how the attachment points list should be treated" />
<integer_constant name="OS_ATTACH_MSG_OBJECT_CREATOR" desc="Send only to those have the same CreatorID with host object CreatorID" />
<integer_constant name="OS_ATTACH_MSG_SCRIPT_CREATOR" desc="Send only to those have the same CreatorID with sender script CreatorID" />
<integer_constant name="CHANGED_REGION_RESTART" desc="Parameter of changed event handler used to indicate the region has been restarted." />
<integer_constant name="CHANGED_ANIMATION" desc="The set of animations playing on the avatar to whom this object is attached has been changed." />
<integer_constant name="LIST_STAT_HARMONIC_MEAN" desc="Returns the harmonic mean of a list of numbers, Value 100." />
<integer_constant name="CAMERA_FOCUS_OFFSET_X" desc="Adjusts the camera focus x position relative to the target. (float)" />
<integer_constant name="CAMERA_FOCUS_OFFSET_Y" desc="Adjusts the camera focus y position relative to the target. (float)" />
<integer_constant name="CAMERA_FOCUS_OFFSET_Z" desc="Adjusts the camera focus z position relative to the target. (float)" />
<integer_constant name="PARCEL_DETAILS_CLAIMDATE" desc="Set parcel claim date" />
<integer_constant name="STATS_TIME_DILATION" desc="Time Dilation, Value 0" />
<integer_constant name="STATS_SIM_FPS" desc="Sim FPS, Value 1" />
<integer_constant name="STATS_PHYSICS_FPS" desc="Physics FPS, Value 2" />
<integer_constant name="STATS_AGENT_UPDATES" desc="Agent Updates/Sec, Value 3" />
<integer_constant name="STATS_ROOT_AGENTS" desc="Main Agents, Value 4" />
<integer_constant name="STATS_CHILD_AGENTS" desc="Child Agents, Value 5" />
<integer_constant name="STATS_TOTAL_PRIMS" desc="Objects, Value 6" />
<integer_constant name="STATS_ACTIVE_PRIMS" desc="Active Objects, Value 7" />
<integer_constant name="STATS_FRAME_MS" desc="Total Frame Time, Value 8" />
<integer_constant name="STATS_NET_MS" desc="Net Time, Value 9" />
<integer_constant name="STATS_PHYSICS_MS" desc="Physics Time, Value 10" />
<integer_constant name="STATS_IMAGE_MS" desc="Images Time, Value 11" />
<integer_constant name="STATS_OTHER_MS" desc="(Other Time), Value 12" />
<integer_constant name="STATS_IN_PACKETS_PER_SECOND" desc="Packets in, Value 13" />
<integer_constant name="STATS_OUT_PACKETS_PER_SECOND" desc="Packets out, Value 14" />
<integer_constant name="STATS_UNACKED_BYTES" desc="Total Unacked Bytes, Value 15" />
<integer_constant name="STATS_AGENT_MS" desc="Agent Time, Value 16" />
<integer_constant name="STATS_PENDING_DOWNLOADS" desc="Pending Downloads, Value 17" />
<integer_constant name="STATS_PENDING_UPLOADS" desc="Pending Downloads, Value 18" />
<integer_constant name="STATS_ACTIVE_SCRIPTS" desc="Active Scripts, Value 19" />
<integer_constant name="STATS_SCRIPT_LPS" desc="Script Line Per Second, Value 20" />
<!-- NPC constants -->
<integer_constant name="OS_NPC" desc="Target is NPC. Use this instead of NPC, Value 0x01000000" />
<integer_constant name="OS_NPC_FLY" desc="Value 0" />
<integer_constant name="OS_NPC_NO_FLY" desc="Value 1" />
<integer_constant name="OS_NPC_LAND_AT_TARGET" desc="Value 2" />
<integer_constant name="OS_NPC_SIT_NOW" desc="Value 0" />
<integer_constant name="OS_NPC_CREATOR_OWNED" desc="Value 0x1" />
<integer_constant name="OS_NPC_NOT_OWNED" desc="Value 0x2" />
<integer_constant name="OS_NPC_SENSE_AS_AGENT" desc="Value 0x4" />
<integer_constant name="OS_NPC_RUNNING" desc="Value 4" />
<integer_constant name="OS_LISTEN_REGEX_NAME" desc="Process name parameter as regex, Value = 0x1" />
<integer_constant name="OS_LISTEN_REGEX_MESSAGE" desc="Process name parameter as regex, Value = 0x2" />
<integer_constant name="OS_PRIM_VELOCITY" desc="Value 65032" />
<integer_constant name="OS_PRIM_ACCELERATION" desc="Value 65033" />
<integer_constant name="OS_PRIM_PROJECTION" desc="Value 65036" />
<!-- Windlight constants -->
<integer_constant name="WL_WATER_COLOR" desc="Windlight Water Colour" />
<integer_constant name="WL_WATER_FOG_DENSITY_EXPONENT" desc="Windlight Water Fog Density Exponent" />
<integer_constant name="WL_UNDERWATER_FOG_MODIFIER" desc="Windlight Underwater Fog Modifier" />
<integer_constant name="WL_REFLECTION_WAVELET_SCALE" desc="Windlight Reflection Wavelet Scale" />
<integer_constant name="WL_FRESNEL_SCALE" desc="Windlight Fresnel Scale" />
<integer_constant name="WL_FRESNEL_OFFSET" desc="Windlight Fresnel Offset" />
<integer_constant name="WL_REFRACT_SCALE_ABOVE" desc="Windlight Refract Scale Above" />
<integer_constant name="WL_REFRACT_SCALE_BELOW" desc="Windlight Refract Scale Below" />
<integer_constant name="WL_BLUR_MULTIPLIER" desc="Windlight Blur Multiplier" />
<integer_constant name="WL_BIG_WAVE_DIRECTION" desc="Windlight Big Wave Direction" />
<integer_constant name="WL_LITTLE_WAVE_DIRECTION" desc="Windlight Little Wave Direction" />
<integer_constant name="WL_NORMAL_MAP_TEXTURE" desc="Windlight Normal Map Texture" />
<integer_constant name="WL_HORIZON" desc="Windlight Horizon Colour" />
<integer_constant name="WL_HAZE_HORIZON" desc="Windlight Haze Horizon" />
<integer_constant name="WL_BLUE_DENSITY" desc="Windlight Blue Density" />
<integer_constant name="WL_HAZE_DENSITY" desc="Windlight Haze Density" />
<integer_constant name="WL_DENSITY_MULTIPLIER" desc="Windlight Density Multiplier" />
<integer_constant name="WL_DISTANCE_MULTIPLIER" desc="Windlight Distance Multiplier" />
<integer_constant name="WL_MAX_ALTITUDE" desc="Windlight Max Altitude" />
<integer_constant name="WL_SUN_MOON_COLOR" desc="Windlight Sun/Moon Colour" />
<integer_constant name="WL_SUN_MOON_POSITION" desc="Windlight Sun/Moon Position" />
<integer_constant name="WL_AMBIENT" desc="Windlight Ambient Colour" />
<integer_constant name="WL_EAST_ANGLE" desc="Windlight Sun/Position East" />
<integer_constant name="WL_SUN_GLOW_FOCUS" desc="Windlight Sun Glow Focus" />
<integer_constant name="WL_SUN_GLOW_SIZE" desc="Windlight Sun Glow Size" />
<integer_constant name="WL_SCENE_GAMMA" desc="Windlight Scene Gamma" />
<integer_constant name="WL_STAR_BRIGHTNESS" desc="Windlight Star Brightness" />
<integer_constant name="WL_CLOUD_COLOR" desc="Windlight Cloud Colour" />
<integer_constant name="WL_CLOUD_XY_DENSITY" desc="Windlight Cloud X/Y/Density" />
<integer_constant name="WL_CLOUD_COVERAGE" desc="Windlight Cloud Coverage" />
<integer_constant name="WL_CLOUD_SCALE" desc="Windlight Cloud Scale" />
<integer_constant name="WL_CLOUD_DETAIL_XY_DENSITY" desc="Windlight Cloud Detail X/Y/Density" />
<integer_constant name="WL_CLOUD_SCROLL_X" desc="Windlight Cloud Scroll X" />
<integer_constant name="WL_CLOUD_SCROLL_Y" desc="Windlight Cloud Scroll Y" />
<integer_constant name="WL_CLOUD_SCROLL_Y_LOCK" desc="Windlight Cloud Scroll Y Lock" />
<integer_constant name="WL_CLOUD_SCROLL_X_LOCK" desc="Windlight Cloud Scroll X Lock" />
<integer_constant name="WL_DRAW_CLASSIC_CLOUDS" desc="Windlight Draw Classic Clouds" />
<!-- Bulletsim specific constants -->
<integer_constant name="PHYS_LINKSET_TYPE_CONSTRAINT" desc="Bulletsim;Links are created with physics constraint objects. Used for flexible objects. Not a good default as it uses more CPU" value="0" />
<integer_constant name="PHYS_LINKSET_TYPE_COMPOUND" desc="Bulletsim;Linkset is constructed as a compound object made up of the shapes of all the children. The most efficient linkset implementation and the default" value="1" />
<integer_constant name="PHYS_LINKSET_TYPE_MANUAL" desc="Bulletsim;NOT IMPLEMENTED. Linkset is implemented by CPU code that moves each of the object in the linkset independently" value="2" />
<integer_constant name="PHYS_LINK_TYPE_FIXED" desc="Bulletsim;Link is fixed and unmovable. Default. Implemented as a 6 degree-of-freedom constraint with no motion in either the linear or angular directions" value="1234" />
<integer_constant name="PHYS_LINK_TYPE_HINGE" desc="Bulletsim;" value="4" />
<integer_constant name="PHYS_LINK_TYPE_SPRING" desc="Bulletsim;" value="9" />
<integer_constant name="PHYS_LINK_TYPE_6DOF" desc="Bulletsim;" value="6" />
<integer_constant name="PHYS_LINK_TYPE_SLIDER" desc="Bulletsim;" value="7" />
<!-- Axis specification -->
<integer_constant name="PHYS_AXIS_LINEAR_X" desc="Bulletsim;X linear axis" value="0" />
<integer_constant name="PHYS_AXIS_LINEAR_Y" desc="Bulletsim;Y linear axis" value="1" />
<integer_constant name="PHYS_AXIS_LINEAR_Z" desc="Bulletsim;Z linear axis" value="2" />
<integer_constant name="PHYS_AXIS_ANGULAR_X" desc="Bulletsim;X angular axis" value="3" />
<integer_constant name="PHYS_AXIS_ANGULAR_Y" desc="Bulletsim;Y angular axis" value="4" />
<integer_constant name="PHYS_AXIS_ANGULAR_Z" desc="Bulletsim;Z angular axis" value="5" />
<integer_constant name="PHYS_AXIS_ALL" desc="Bulletsim;(-1) make changes to all axis" value="-1" />
<integer_constant name="PHYS_AXIS_LINEAR_ALL" desc="Bulletsim;all linear axis (X, Y, Z)" value="-2" />
<integer_constant name="PHYS_AXIS_ANGULAR_ALL" desc="Bulletsim;all angular axis (X, Y, Z)" value="-3" />
<!-- Extended linksets -->
<integer_constant name="PHYS_PARAM_LINK_TYPE" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_FRAMEINA_LOC" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_FRAMEINA_ROT" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_FRAMEINB_LOC" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_FRAMEINB_ROT" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_LINEAR_LIMIT_LOW" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_LINEAR_LIMIT_HIGH" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_ANGULAR_LIMIT_LOW" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_ANGULAR_LIMIT_HIGH" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_USE_FRAME_OFFSET" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_ENABLE_TRANSMOTOR" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_TRANSMOTOR_MAXVEL" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_USE_LINEAR_FRAMEA" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_TRANSMOTOR_MAXFORCE" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_CFM" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_ERP" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_SOLVER_ITERATIONS" desc="Bulletsim;"/>
<integer_constant name="PHYS_PARAM_SPRING_AXIS_ENABLE" desc="Bulletsim;[PHYS_PARAM_SPRING_AXIS_ENABLE, int axisCode, bool flag]"/>
<integer_constant name="PHYS_PARAM_SPRING_DAMPING" desc="Bulletsim;[PHYS_PARAM_SPRING_DAMPING, int axisCode, float damping]"/>
<integer_constant name="PHYS_PARAM_SPRING_STIFFNESS" desc="Bulletsim;[PHYS_PARAM_SPRING_STIFFNESS, int axisCode, float stiffness]"/>
</keywords>
<functions>
<function name="osSetRegionWaterHeight" sleep="0.0" energy="10.0"
desc="osSetRegionWaterHeight(float height);Adjusts water height in current region" />
<function name="osSetRegionSunSettings" sleep="0.0" energy="10.0"
desc="osSetRegionSunSettings(integer useEstateSun, integer sunFixed, float sunHour);Set the current region's sun settings" />
<function name="osSetEstateSunSettings" sleep="0.0" energy="10.0"
desc="osSetEstateSunSettings(integer sunFixed, float sunHour);Set current estate's sun settings" />
<function name="osGetCurrentSunHour" sleep="0.0" energy="10.0"
desc="float osGetCurrentSunHour();Returns the value of the current region's sun hour" />
<function name="osGetSunParam" sleep="0.0" energy="10.0"
desc="string osGetSunParam(string param);Returns region's current sun parameters.;Param are: day_length, year_length, day_night_offset, update_interval." />
<function name="osSetSunParam" sleep="0.0" energy="10.0"
desc="osSetSunParam(string param, float value);Sets the current region's sun parameters.;Param are: day_length, year_length, day_night_offset, update_interval." />
<function name="osWindActiveModelPluginName" sleep="0.0" energy="10.0"
desc="string osWindActiveModelPluginName();Returns active wind plugin name, specified by &quot;wind_plugin&quot; in OpenSim.ini" />
<function name="osSetWindParam" sleep="0.0" energy="10.0"
desc="osSetWindParam(string plugin, string param, float value);Sets value of param property for plugin module.;SimpleRandomWind plugin param is: strength.;ConfigurableWind plugin params are: avgStrength, avgDirection, varStrength, varDirection, rateChange" />
<function name="osGetWindParam" sleep="0.0" energy="10.0"
desc="string osGetWindParam(string plugin, string param);Gets the value of param property for plugin module.;SimpleRandomWind plugin param is: strength.;ConfigurableWind plugin params are: avgStrength, avgDirection, varStrength, varDirection, rateChange." />
<function name="osParcelJoin" sleep="0.0" energy="10.0"
desc="osParcelJoin(vector start, vector end);Joins two adjacent parcels within the same region" />
<function name="osParcelSubdivide" sleep="0.0" energy="10.0"
desc="osParcelSubdivide(vector start, vector end);Subdivides a parcel into two adjacent parcels within the same region" />
<function name="osSetParcelDetails" sleep="0.0" energy="10.0"
desc="osSetParcelDetails(vector pos, list parameters);Sets parcel details;PARCEL_DETAILS_NAME, PARCEL_DETAILS_DESC, PARCEL_DETAILS_OWNER, PARCEL_DETAILS_GROUP, PARCEL_DETAILS_CLAIMDATE are implemented" />
<function name="osList2Double" sleep="0.0" energy="10.0"
desc="osList2Double(list src, integer index);This function converts a value in the specified index of the list src to the double data type. However, OSSL does not have a double data type. C# contains a double type, but the current LSL implementation does not." />
<function name="osSetDynamicTextureURL" sleep="0.0" energy="10.0"
desc="string osSetDynamicTextureURL(key dynamicID, string contentType, string url, string extraParams, integer timer);Renders a web texture on the prim containing the script and returns the UUID of the newly created texture" />
<function name="osSetDynamicTextureData" sleep="0.0" energy="10.0"
desc="osSetDynamicTextureData(key dynamicID, string contentType, string data, string extraParams, integer timer);Renders a dynamically created texture on the prim containing the script and returns the UUID of the newly created texture" />
<function name="osSetDynamicTextureURLBlend" sleep="0.0" energy="10.0"
desc="string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams, integer timer, integer alpha);Allows for two dynamic textures to blend on the prim containing this script" />
<function name="osSetDynamicTextureDataBlendFace" sleep="0.0" energy="10.0"
desc="string osSetDynamicTextureDataBlendFace(string dynamicID, string contentType, string data, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face);Returns UUID of the generated texture. Intended to be used with subsequent calls to osSetDynamicTexture* functions in order to modify the texture" />
<function name="osSetDynamicTextureURLBlend" sleep="0.0" energy="10.0"
desc="osSetDynamicTextureURLBlend(key dynamicID, string contentType, string url, string extraParams, integer timer, integer alpha);Allows for two dynamic textures to blend on the prim containing this script" />
<function name="osSetDynamicTextureURLBlendFace" sleep="0.0" energy="10.0"
desc="osSetDynamicTextureURLBlendFace(key dynamicID, string contentType, string url, string extraParams, integer blend, integer disp, integer timer, integer alpha, integer face);Allows for two dynamic textures to blend on the specified face of the prim containing this script" />
<function name="osGetTerrainHeight" sleep="0.0" energy="10.0"
desc="integer osGetTerrainHeight(integer x, integer y);Returns the current region's terrain height as a float at the given coordinates" />
<function name="osSetTerrainHeight" sleep="0.0" energy="10.0"
desc="osSetTerrainHeight(integer x, integer y, float val);Sets the current region's terrain height at the given coordinates" />
<function name="osTerrainFlush" sleep="0.0" energy="10.0"
desc="osTerrainFlush();Updates terrain changes in the grid&apos;s database" />
<function name="osRegionRestart" sleep="0.0" energy="10.0"
desc="osRegionRestart(float seconds);Restarts the current region after a specified amount of time (in seconds)" />
<function name="osRegionNotice" sleep="0.0" energy="10.0"
desc="osRegionNotice(string msg);Sends a region notice throughout the current region" />
<function name="osConsoleCommand" sleep="0.0" energy="10.0"
desc="osConsoleCommand(string command);Sends a given console command to the region.;NOTE: There are no security checks with this function. DO NOT USE THIS FUNCTION UNLESS YOU ARE ABSOLUTELY SURE YOU KNOW WHAT YOU ARE DOING." />
<function name="osSetParcelMediaURL" sleep="0.0" energy="10.0"
desc="osSetParcelMediaURL(string url);Set parcel media to a given url" />
<function name="osSetParcelSIPaddress" sleep="0.0" energy="10.0"
desc="osSetParcelSIPAddress(string SIPAddress);Set parcel SIP Address for voice" />
<function name="osSetPrimFloatOnWater" sleep="0.0" energy="10.0"
desc="osSetPrimFloatOnWater(integer float);Set physical object to float at the given water level" />
<function name="osTeleportAgent" sleep="0.0" energy="10.0"
desc="osTeleportAgent(key agent, integer regionX, integer regionY, vector position, vector lookat);;osTeleportAgent(key agent, string regionName, vector position, vector lookat);;osTeleportAgent(key agent, vector position, vector lookat);Teleports an agent to the specified location" />
<function name="osTeleportOwner" sleep="0.0" energy="10.0"
desc="osTeleportOwner(integer regionX, integer regionY, vector position, vector lookat);;osTeleportOwner(string regionName, vector position, vector lookat);;osTeleportOwner(vector position, vector lookat);Teleports the owner of the object containing the script to the specified location" />
<function name="osGetAgentIP" sleep="0.0" energy="10.0"
desc="string osGetAgentIP(key avatar);Returns the agent&apos;s IP Address" />
<function name="osGetAgents" sleep="0.0" energy="10.0"
desc="list osGetAgents();Returns a list of all avatars in the current region" />
<function name="osAvatarPlayAnimation" sleep="0.0" energy="10.0"
desc="osAvatarPlayAnimation(key avatar, string animation);Plays a given animation on a specified avatar.;No PERMISSION_TRIGGER_ANIMATION check." />
<function name="osAvatarStopAnimation" sleep="0.0" energy="10.0"
desc="osAvatarStopAnimation(key UUID, string animation);Stops playing an animation on a specified avatar" />
<function name="osForceAttachToAvatar" sleep="0.0" energy="10.0"
desc="osForceAttachToAvatar(integer attach_point);Attaches the object to the avatar.;No PERMISSION_ATTACH check." />
<function name="osForceAttachToAvatarFromInventory" sleep="0.0" energy="10.0"
desc="osForceAttachToAvatarFromInventory(string item, integer attach_point);Attaches given inventory item to the avatar.;No PERMISSION_ATTACH check." />
<function name="osForceAttachToOtherAvatarFromInventory" sleep="0.0" energy="10.0"
desc="osForceAttachToOtherAvatarFromInventory(key avatar, string item, integer attach_point);Attaches given inventory item to a specified avatar.;No PERMISSION_ATTACH check." />
<function name="osForceDetachFromAvatar" sleep="0.0" energy="10.0"
desc="osForceDetachFromAvatar();Detaches the object from the avatar.;No PERMISSION_ATTACH check." />
<function name="osGetNumberOfAttachments" sleep="0.0" energy="10.0"
desc="list osGetNumberOfAttachments(key avatar, list attach_point);Returns a strided list of the specified attachment points and the number of attachments on those points" />
<function name="osMessageAttachments" sleep="0.0" energy="10.0"
desc="osMessageAttachments(key avatar, string message, list attach_point, integer flags);Sends a given message to the specified avatar's attachments on the given attachment points" />
<function name="osMovePen" sleep="0.0" energy="10.0"
desc="osMovePen(string draw_list, integer x, integer y);Moves the pen's location to the coordinates specified by the x and y parameters, without drawing anything" />
<function name="osDrawLine" sleep="0.0" energy="10.0"
desc="osDrawLine(string draw_list, integer start_x, integer start_y, integer end_x, integer end_y);osDrawLine(string draw_list, integer end_x, integer end_y);Draws a line on a dynamic texture" />
<function name="osDrawText" sleep="0.0" energy="10.0"
desc="osDrawText(string draw_list, string text);Renders text on a dynamic texture" />
<function name="osDrawEllipse" sleep="0.0" energy="10.0"
desc="osDrawEllipse(string draw_list, integer width, integer height);Draws an ellipse on a dynamic texture" />
<function name="osDrawRectangle" sleep="0.0" energy="10.0"
desc="osDrawRectangle(string draw_list, integer width, integer height);Draws a rectangle on a dynamic texture" />
<function name="osDrawFilledRectangle" sleep="0.0" energy="10.0"
desc="osDrawFilledRectangle(string draw_list, integer width, integer height);Draws a rectangle on a dynamic texture, and fills it with the current pen color" />
<function name="osDrawPolygon" sleep="0.0" energy="10.0"
desc="osDrawPolygon (string draw_list, list x, list y);Draws a polygon on a dynamic texture" />
<function name="osDrawFilledPolygon" sleep="0.0" energy="10.0"
desc="osDrawFilledPolygon (string draw_list, list x, list y);Draws a polygon on a dynamic texture, and fills it with the current pen color" />
<function name="osSetFontSize" sleep="0.0" energy="10.0"
desc="osSetFontSize(string draw_list, integer font_size);Sets the font size to be used in osDrawText" />
<function name="osSetFontName" sleep="0.0" energy="10.0"
desc="osSetFontName(string draw_list, string font_name);Sets the font to be used by osDrawText" />
<function name="osSetPenSize" sleep="0.0" energy="10.0"
desc="osSetPenSize(string draw_list, integer pen_size);Sets the line thickness to be used when drawing dynamic textures" />
<function name="osSetPenColor" sleep="0.0" energy="10.0"
desc="osSetPenColor(string draw_list, string color);Sets the pen color to be used when drawing dynamic textures" />
<function name="osSetPenCap" sleep="0.0" energy="10.0"
desc="osSetPenCap(string draw_list, string direction, string type);Apply a shape on the end of a line" />
<function name="osDrawImage" sleep="0.0" energy="10.0"
desc="osDrawImage(string draw_list, integer width, integer height, string url);Retrieves a specified image and draws it at the specified height and width" />
<function name="osGetDrawStringSize" sleep="0.0" energy="10.0"
desc="osGetDrawStringSize(string contentType, string text, string fontName, integer fontSize);Returns a vector containing the horizontal and vertical dimensions in pixels of the specified text" />
<function name="osGetScriptEngineName" sleep="0.0" energy="10.0"
desc="string osGetScriptEngineName();Returns the name of the script engine running on the current region" />
<function name="osGetSimulatorVersion" sleep="0.0" energy="10.0"
desc="string osGetSimulatorVersion();Returns the current simulator version" />
<function name="osGetThreatLevel" sleep="0.0" energy="10.0"
desc="string osGetThreatLevel();Returns the current scripting threat level" />
<function name="osParseJSON" sleep="0.0" energy="10.0"
desc="string osParseJSON(string JSON);Returns a hashtable containing the structured JSON contents" />
<function name="osParseJSONNew" sleep="0.0" energy="10.0"
desc="string osParseJSON(string JSON);Returns a hashtable containing the structured JSON contents" />
<function name="osMessageObject" sleep="0.0" energy="10.0"
desc="osMessageObject(key object, string msg);Sends a specified message to an object" />
<function name="osMakeNotecard" sleep="0.0" energy="10.0"
desc="osMakeNotecard(string notecard, list contents);Creates a notecard with contents of list" />
<function name="osGetNotecardLine" sleep="0.0" energy="10.0"
desc="string osGetNotecardLine(string notecard, integer line);Returns a given line in a specified notecard contained in the object" />
<function name="osGetNotecard" sleep="0.0" energy="10.0"
desc="string osGetNotecard(string notecard);Returns the full contents of a notecard" />
<function name="osGetNumberOfNotecardLines" sleep="0.0" energy="10.0"
desc="integer osGetNumberOfNotecardLines(string notecard);Returns the number of lines in a notecard" />
<function name="osAvatarName2Key" sleep="0.0" energy="10.0"
desc="key osAvatarName2Key(string firstname, string lastname);Returns the avatar&apos;s key from their first and last name" />
<function name="osKey2Name" sleep="0.0" energy="10.0"
desc="string osKey2Name(key avatar);Returns the avatar&apos;s name from their key" />
<function name="osGetGridNick" sleep="0.0" energy="10.0"
desc="string osGetGridNick();Returns the current grid&apos;s nickname" />
<function name="osGetGridName" sleep="0.0" energy="10.0"
desc="string osGetGridName();Returns the current grid&apos;s name" />
<function name="osGetGridLoginURI" sleep="0.0" energy="10.0"
desc="string osGetGridLoginURI();Returns the current grid&apos;s LoginURI" />
<function name="osGetGridHomeURI" sleep="0.0" energy="10.0"
desc="string osGetGridHomeURI();Returns the current grid&apos;s HomeURI" />
<function name="osGetGridGatekeeperURI" sleep="0.0" energy="10.0"
desc="string osGetGridGatekeeperURI();Returns the current grid&apos;s Gatekeeper URI as a string." />
<function name="osGetGridCustom" sleep="0.0" energy="10.0"
desc="string osGetGridCustom();Returns the current grid&apos;s GridInfo key" />
<function name="osFormatString" sleep="0.0" energy="10.0"
desc="string osFormatString(string to_format, list strings);Formats the given string using specified parameters" />
<function name="osMatchString" sleep="0.0" energy="10.0"
desc="list osMatchString(string to_match, string pattern, integer start);Returns a list containing the matches from the specified string" />
<function name="osReplaceString" sleep="0.0" energy="10.0"
desc="string isReplaceString(string in);Replaces a given string" />
<function name="osLoadedCreationDate" sleep="0.0" energy="10.0"
desc="string osLoadedCreationDate();Returns the creation date of the current region" />
<function name="osLoadedCreationTime" sleep="0.0" energy="10.0"
desc="string osLoadedCreationTime();Returns the creation time of the current region" />
<function name="osLoadedCreationID" sleep="0.0" energy="10.0"
desc="string osLoadedCreationID();Returns the original UUID of the current region" />
<function name="osGetLinkPrimitiveParams" sleep="0.0" energy="10.0"
desc="list osGetLinkPrimitiveParams(integer link_num, list parameters);Returns prim params for the prim specified by link_num" />
<function name="osForceCreateLink" sleep="0.0" energy="10.0"
desc="osForceCreateLink(key target, int parent);Idential to llCreateLink() except that it doesn't require the link permission to be granted. Attempt to link the script's object with target." />
<function name="osForceBreakLink" sleep="0.0" energy="10.0"
desc="osForceBreakLink(integer link);to llBreakLink(integer link) except that it doesn't require the link permission to be granted. Delinks the prim with the given link number in a linked object set." />
<function name="osForceBreakAllLinks" sleep="0.0" energy="10.0"
desc="osForceBreakAllLinks();Identical to llBreakAllLinks() except that it doesn't require the link permission to be granted. Delinks all prims in the link set." />
<function name="osIsNpc" sleep="0.0" energy="10.0"
desc="integer osIsNpc(key npc);Returns 1 if TRUE, 0 if FALSE" />
<function name="osNpcCreate" sleep="0.0" energy="10.0"
desc="key osNpcCreate(string firstname, string lastname, vector position, string clone);key osNpcCreate(string firstname, string lastname, vector position, string clone, integer options);Creates an NPC" />
<function name="osNpcSaveAppearance" sleep="0.0" energy="10.0"
desc="osNpcSaveAppearance(key npc, string notecard);Save the target NPC&apos;s current appearance to a notecard in the object's inventory" />
<function name="osNpcLoadAppearance" sleep="0.0" energy="10.0"
desc="osNpcLoadAppearance(key npc, string notecard);Load the target NPC&apos;s appearance from a notecard" />
<function name="osNpcGetOwner" sleep="0.0" energy="10.0"
desc="key osNpcGetOwner(key npc);Returns the avatar key for the target NPC&apos;s owner" />
<function name="osNpcGetPos" sleep="0.0" energy="10.0"
desc="vector osNpcGetPos(key npc);Returns current position vector of the target NPC" />
<function name="osNpcGetRot" sleep="0.0" energy="10.0"
desc="rotation osNpcGetRot(key npc);Returns the rotation of the the target NPC" />
<function name="osNpcSetRot" sleep="0.0" energy="10.0"
desc="osNpcSetRot(key npc, rotation rot);Set the rotation of the target NPC" />
<function name="osNpcMoveTo" sleep="0.0" energy="10.0"
desc="osNpcMoveTo(key npc, vector position);Moves the target NPC to a location within the region" />
<function name="osNpcMoveToTarget" sleep="0.0" energy="10.0"
desc="osNpcMoveToTarget(key npc, vector target, integer options);Moves the target NPC to a specified location over a period of time" />
<function name="osNpcStopMoveToTarget" sleep="0.0" energy="10.0"
desc="osNpcStopMoveToTarget(key npc);Stop the target NPC&apos;s movement" />
<function name="osNpcSay" sleep="0.0" energy="10.0"
desc="osNpcSay(key npc, string message);Target NPC says message on the nearby chat channel" />
<function name="osNpcShout" sleep="0.0" energy="10.0"
desc="osNpcShout(key npc, string message);Target NPC shouts message on the nearby chat channel" />
<function name="osNpcWhisper" sleep="0.0" energy="10.0"
desc="osNpcWhisper(key npc, string message);Target NPC whispers message on the nearby chat channel" />
<function name="osNpcSit" sleep="0.0" energy="10.0"
desc="osNpcSit(key npc, key object, integer options);Makes the target NPC sit on an object" />
<function name="osNpcStand" sleep="0.0" energy="10.0"
desc="osNpcStand(key npc);Makes the target NPC stand up" />
<function name="osNpcTouch" sleep="0.0" energy="10.0"
desc="osNpcTouch(key npcKey, key object_key, integer link_num);Makes the target NPC to touch the specified object" />
<function name="osNpcRemove" sleep="0.0" energy="10.0"
desc="key osNpcRemove(key npc);Removes the NPC specified by key npc" />
<function name="osNpcPlayAnimation" sleep="0.0" energy="10.0"
desc="osNpcPlayAnimation(key npc, string animation);Plays animation on the target NPC" />
<function name="osNpcStopAnimation" sleep="0.0" energy="10.0"
desc="osNpcStopAnimation(key npc, string animation);Stops animation being played by the NPC" />
<function name="osOwnerSaveAppearance" sleep="0.0" energy="10.0"
desc="key osOwnerSaveAppearance(string notecard);Creates a notecard with the object owner&apos;s current appearance inside the object" />
<function name="osAgentSaveAppearance" sleep="0.0" energy="10.0"
desc="key osAgentSaveAppearance(key avatar, string notecard);Creates a notecard with the specified avatar&apos;s current appearance inside the object" />
<function name="osGetMapTexture" sleep="0.0" energy="10.0"
desc="key osGetMapTexture();Returns the map texture key for the current region" />
<function name="osGetRegionMapTexture" sleep="0.0" energy="10.0"
desc="key osGetRegionMapTexture(string region);Returns the map texture key for a specified region" />
<function name="osGetRegionStats" sleep="0.0" energy="10.0"
desc="list osGetRegionStats();Returns the current region&apos; statistics" />
<function name="osGetSimulatorMemory" sleep="0.0" energy="10.0"
desc="integer osGetSimulatorMemory();Returns the memory in use by the current region" />
<function name="osKickAvatar" sleep="0.0" energy="10.0"
desc="osKickAvatar(string FirstName, string LastName, string alert);Kicks specified avatar out of the current region" />
<function name="osSetSpeed" sleep="0.0" energy="10.0"
desc="osSetSpeed(key avatar, float modifier);Modify the speed of movement for the given avatar" />
<function name="osGetHealth" sleep="0.0" energy="10.0"
desc="osGetHealth(key avatar);Return the target avatar's health" />
<function name="osCauseDamage" sleep="0.0" energy="10.0"
desc="osCauseDamage(key avatar, float damage);Causes health damage to the specified avatar" />
<function name="osCauseHealing" sleep="0.0" energy="10.0"
desc="osCauseHealing(key avatar, float healing);Increase health to the specified avatar" />
<function name="osGetPrimitiveParams" sleep="0.0" energy="10.0"
desc="list osGetPrimitiveParams(key prim, list parameters);Returns the parameters of a primitive, specified by its key" />
<function name="osSetPrimitiveParams" sleep="0.0" energy="10.0"
desc="osSetPrimitiveParams(key prim, list parameters);Sets the primitive parameters for the given primitive" />
<function name="osSetProjectionParams" sleep="0.0" energy="10.0"
desc="osSetProjectionParams(integer projection, key texture, float fov, float focus, float ambience);;osSetProjectionParams(key prim, integer projection, key texture, float fov, float focus, float ambience);Sets the project parameters for the given primitive" />
<function name="osGetAvatarList" sleep="0.0" energy="10.0"
desc="list osGetAvatarList();Returns a list with the keys, position, and name of each avatar in the current region" />
<function name="osUnixTimeToTimestamp" sleep="0.0" energy="10.0"
desc="string osUnixTimeToTimestamp(integer time);Returns unix time as a formatted timestamp" />
<function name="osGetInventoryDesc" sleep="0.0" energy="10.0"
desc="string osGetInventoryDesc(string name);Returns the description of inventory item" />
<function name="osInviteToGroup" sleep="0.0" energy="10.0"
desc="integer osInviteToGroup(key avatar);Invited the specified avatar to the object&apos;s current group" />
<function name="osEjectFromGroup" sleep="0.0" energy="10.0"
desc="integer osEjectFromGroup(key avatar);Eject the specified avatar from the object&apos;s current group" />
<function name="osSetTerrainTexture" sleep="0.0" energy="10.0"
desc="osSetTerrainTexture(integer level, key texture);Set the terrain texture for the current region to a given texture" />
<function name="osSetTerrainTextureHeight" sleep="0.0" energy="10.0"
desc="osSetTerrainTextureHeight(integer corner, float low, float high);Set the terrain texture height for the current region" />
<function name="osIsUUID" sleep="0.0" energy="10.0"
desc="osIsUUID(string);Returns 1 if the given string is a valid UUID, 0 if not" />
<function name="osMin" sleep="0.0" energy="10.0"
desc="float osMin(float x, float y);Returns the lesser of two numbers" />
<function name="osMax" sleep="0.0" energy="10.0"
desc="float osMax(float x, float y);Returns the greater of two numbers" />
<function name="osGetRezzingObject" sleep="0.0" energy="10.0"
desc="key osGetRezzingObject();Returns the key of the object&apos;s parent object" />
<function name="osSetContentType" sleep="0.0" energy="10.0"
desc="osSetContentType(key id, string type);Sets a content return type for a llRequestUrl()" />
<function name="osDropAttachment" sleep="0.0" energy="10.0"
desc="osDropAttachment();Drops an attachment" />
<function name="osDropAttachmentAt" sleep="0.0" energy="10.0"
desc="osDropAttachmentAt(vector pos, rotation rot);Drops an attachment at a given position and rotation" />
<function name="osForceDropAttachment" sleep="0.0" energy="10.0"
desc="osForceDropAttachment();Drops an attachment without a PERMISSION_ATTACH check" />
<function name="osForceDropAttachmentAt" sleep="0.0" energy="10.0"
desc="osForceDropAttachmentAt(vector pos, rotation rot);Drops an attachment at a given position and rotation without a PERMISSION_ATTACH check" />
<function name="osListenRegex" sleep="0.0" energy="10.0"
desc="osListenRegex(integer channel, string name, string id, string msg, integer regex_bitfield);Filter listen events by regex" />
<function name="osRegexIsMatch" sleep="0.0" energy="10.0"
desc="osRegexIsMatch(string input, string pattern);Returns 1 if the input string matches the regular expression pattern, returns 0 if not" />
<function name="osReturnObject" sleep="0.0" energy="10.0"
desc="osReturnObject(key avatar);Returns object to a specified avatar" />
<function name="osReturnObjects" sleep="0.0" energy="10.0"
desc="osReturnObjects(integer param);Returns a group of objects" />
<function name="osShutDown" sleep="0.0" energy="10.0"
desc="osShutDown();Shuts down the current simulator" />
<function name="osAddAgentToGroup" sleep="0.0" energy="10.0"
desc="osAddAgentToGroup(key avatar, string group_name, string role_name);Adds the avatar to a group under a given role" />
<function name="osRezObject" sleep="0.0" energy="10.0"
desc="osRezObject(string inventory, vector position, vector velocity, rotation rot, integer param, integer rez_at_root_, integer do_recoil, integer set_die_at_edge, integer check_pos);Rez an object" />
<!-- Windlight specific -->
<function name="lsGetWindlightScene" sleep="0.0" energy="10.0"
desc="list lsGetWindlightScene(list rules);Return the current Lightshare settings" />
<function name="lsSetWindlightScene" sleep="0.0" energy="10.0"
desc="lsSetWindlightScene(list parameters);Sets the Lightshare scene" />
<function name="lsSetWindlightSceneTargeted" sleep="0.0" energy="10.0"
desc="lsSetWindlightSceneTargeted(list parameters, key avatar);Sets the Lightshare scene for a given avatar" />
<function name="lsClearWindlightScene" sleep="0.0" energy="10.0"
desc="lsClearWindlightScene();Remove Windlight settings from a region" />
<!-- Bulletsim specific -->
<function name="physGetEngineType" sleep="0.0" energy="10.0"
desc="string physGetEngineType();Get physics engine type" />
<function name="physGetPhysicsParameter" sleep="0.0" energy="10.0"
desc="string physGetPhysicsParameter(string parameterName);Bulletsim: Returns physics parameter" />
<function name="physSetPhysicsParameter" sleep="0.0" energy="10.0"
desc="physSetPhysicsParameter(string parameterName, string value);Bulletsim: Set physics parameter" />
<function name="physSetLinksetType" sleep="0.0" energy="10.0"
desc="physSetLinksetType(integer linksetTypeCode):Bulletsim: Set linkset type" />
<function name="physSetCenterOfMass" sleep="0.0" energy="10.0"
desc="physSetCenterOfMass(vector centerOfMassDisplacement);Bulletsim: Set center of mass" />
<function name="physChangeLinkParams" sleep="0.0" energy="10.0"
desc="physChangeLinkParams(integer linkNum, list parms);Bulletsim: Change link params" />
</functions>
</script_library>